(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6102],{63214:function(e,t,a){"use strict";var l,r,n=a(67294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{children:t,text:a="button-text",idButton:r,customStyles:i,variant:s="primary_transactional",uppercase:o=!1,icon:c=null,iconPosition:d=null,size:u,onClick:_,className:m="mb-2.5 md:mb-1",disabled:p=!1,...h}=e,g=[m,n().button,n()["button-".concat(u||"md")],n()["button-".concat(s)],d?n()["button-icon-position-".concat(d)]:"",o?"uppercase":""];return(0,l.jsxs)("button",{id:r,style:i,disabled:p,className:g.join(" "),onClick:_,...h,children:[t||a,c&&c]})};Button.propTypes={children:s().node,variant:s().oneOf(["primary_transactional","secondary_transactional","primary_general","secondary_general","icon_right","icon_left","ghost"]),iconPosition:s().oneOf(["right","left"]),uppercase:s().bool,icon:s().node,size:s().string,idButton:s().string,customStyles:s().object},t.Z=Button},311:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return _}});var l=a(85893),r=a(26780),n=a.n(r),i=a(45697),s=a.n(i),o=a(19980),c=a(11335),d=a(39644),u=a.n(d);let getCaption=e=>{let t=e.map(e=>e.toLowerCase());return t.includes("nuevo")?"Nuevo":t.includes("nuevo color")?"Nuevo color":t.includes("edici\xf3n limitada")?"Edici\xf3n limitada":e[0]},TagExtras=e=>{let{tags:t}=e,a=getCaption(t);return(0,l.jsx)("div",{className:u()["tag-extras"],children:a})};TagExtras.propTypes={tags:s().array};let Card=e=>{let{children:t,variant:a,className:r,cardClass:i,image:s,imageHover:d,url:u,name:_,usage:m,contentLayout:p="column",size:h,isTagPromotion:g,promotion:v,stock:x,imageWidth:y,imageHeight:b,imageAlt:f,onClick:C,extraTags:j,passRef:w=!0,position:N=1,floatCart:M=!1,as:I}=e,T=[r,n().card,n()["card_".concat(a)]],k=N<=6;return"slide-cart"===a?(0,l.jsx)("div",{className:T.join(" "),children:(0,l.jsx)("div",{className:[n().card_container,M?{}:n().card_divider].join(" "),children:(0,l.jsxs)("div",{className:[n()[i],n()["card_".concat(a,"_link")],n()["card_".concat(m)],"w-full"].join(" "),href:u,onClick:C,alt:_,children:[g&&(0,l.jsx)(c.Z,{campaign:v,stock:x}),j&&j.length>0&&(0,l.jsx)("div",{className:"p-3.5 z-10 absolute top-0 left-0 z-10",children:(0,l.jsx)(TagExtras,{tags:j})}),(0,l.jsxs)("div",{className:[n()["card_".concat(a,"_image")],n()["card_".concat(a,"-").concat(h||"md")]].join(" "),children:[null!=u&&(0,l.jsx)("a",{href:u,children:(0,l.jsx)(o.Z,{images:[{name:"primary",url:s},{name:"secondary",url:d}],width:y,height:b,alt:f,priority:k})}),null===u||void 0===u&&(0,l.jsx)(o.Z,{images:[{name:"primary",url:s},{name:"secondary",url:d}],width:y,height:b,alt:f,priority:k})]}),(0,l.jsx)("div",{className:[n()["card_".concat(a,"_info")],"w-full pr-5 xs:p-0"].join(" "),children:(0,l.jsx)("div",{className:[n()["card_".concat(a,"_info_content")],"gap-y-1 mb-2",n()["card_".concat(a,"_info_content_").concat(p)]].join(" "),children:t})})]})})}):(0,l.jsx)("div",{className:T.join(" "),children:(0,l.jsx)("div",{className:n().card_container,children:s&&"category-home"===a||"category-listing"===a?(0,l.jsx)("a",{onClick:C,className:"".concat(n()["card_".concat(a,"_link")]," ").concat(n()[i]),href:u,alt:_,children:(0,l.jsx)("div",{className:n()["card_".concat(a,"_image")],children:(0,l.jsxs)("div",{className:[n()["card_".concat(a,"_bg")],n()["card_".concat(a,"_bg-").concat(h||"md")]].join(" "),children:[(0,l.jsx)(o.Z,{images:[{name:"primary",url:s},{name:"secondary",url:d}],width:y,height:b,alt:f,priority:k}),(0,l.jsx)("div",{className:n()["card_".concat(a,"_title")],children:(0,l.jsx)("h2",{children:_})})]})})}):(0,l.jsxs)("a",{className:[n()[i],n()["card_".concat(a,"_link")],n()["card_".concat(m)],"w-full"].join(" "),href:u,onClick:C,alt:_,children:[g&&(0,l.jsx)(c.Z,{campaign:v,stock:x}),j&&j.length>0&&(0,l.jsx)("div",{className:n().card_extraTag,children:(0,l.jsx)(TagExtras,{tags:j})}),(0,l.jsx)("div",{className:[n()["card_".concat(a,"_image")],n()["card_".concat(a,"-").concat(h||"md")]].join(" "),children:(0,l.jsx)(o.Z,{images:[{name:"primary",url:s},{name:"secondary",url:d}],width:y,height:b,alt:f,priority:k})}),(0,l.jsx)("div",{className:n()["card_".concat(a,"_info")],children:(0,l.jsx)("div",{className:[n()["card_".concat(a,"_info_content")],"gap-y-1 mb-2",n()["card_".concat(a,"_info_content_").concat(p)]].join(" "),children:t})})]})})})};Card.propTypes={children:s().node,variant:s().oneOf(["category-home","category-listing","product","product-search","slide-cart"]),cardClass:s().string,image:s().string,url:s().string,name:s().string,contentLayout:s().string,size:s().string,extraTags:s().array};var _=Card},60277:function(e,t,a){"use strict";let l,r,n,i,s;a.r(t),a.d(t,{default:function(){return F}});var o,c=a(85893),d=a(7935),u=a(67294),_=a(78222),m=a(61606),p=a.n(m),h=a(81569),g=a(311);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t;let{id:a,qty:l,stock:r,sku:n,onChange:i,readonly:s,isFloatCart:o}=e,{quote:d,updateItemCart:m}=(0,j.Z)(),p=(0,_.z$)(),[g,x]=(0,u.useState)(l),[b,f]=(0,u.useState)(!1),w=(0,C.q)(e=>{var t;return null===(t=e.me)||void 0===t?void 0:t.cartId}),[N,M]=(0,u.useState)(!1),I=null==d?void 0:null===(t=d.items)||void 0===t?void 0:t.find(e=>e.product.sku===n);(0,u.useEffect)(()=>{N&&i&&i()},[g]),(0,u.useEffect)(()=>{g!==l&&x(l)},[l]),(0,u.useEffect)(()=>{M(!0)},[]);let handleIncrement=async e=>{if(e.preventDefault(),g{var t;return(null==e?void 0:null===(t=e.product)||void 0===t?void 0:t.id)===a}),g=null!==(m=null==d?void 0:null===(t=d.prices)||void 0===t?void 0:t.grand_total)&&void 0!==m?m:0;p.track("app:cartSummary_productAdded",{product_id:null==h?void 0:null===(l=h.product)||void 0===l?void 0:l.sku,sku:null==h?void 0:null===(n=h.product)||void 0===n?void 0:n.sku,name:null==h?void 0:null===(i=h.product)||void 0===i?void 0:i.name,brand:v.R9.brand,price:null==h?void 0:null===(o=h.product)||void 0===o?void 0:null===(s=o.gaia_prices)||void 0===s?void 0:s.final_price,quantity:e,image_url:null==h?void 0:null===(c=h.product)||void 0===c?void 0:c.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(null==h?void 0:null===(u=h.product)||void 0===u?void 0:u.url_key).concat(null==h?void 0:null===(_=h.product)||void 0===_?void 0:_.url_suffix),cart_id:w,extra:{total:g,products:r.map((e,t)=>({product_id:e.product.sku,sku:e.product.sku,name:e.product.name,brand:v.R9.brand,price:e.product.gaia_prices.final_price,quantity:1,image_url:e.product.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(e.product.url_key).concat(e.product.url_suffix)})),cartCount:Array.isArray(((null==d?void 0:d.items)||{}).length)?d.items.length:0}})}}},handleDecrement=async e=>{if(e.preventDefault(),g>1){let e=g-1;x(e);let m=await updateQuantity(a,e);if(!m){var t,l,r,n,i,s,o,c,u,_;let e=Array.isArray(null==d?void 0:d.items)?d.items:[],m=e.filter(e=>{var t;return(null==e?void 0:null===(t=e.product)||void 0===t?void 0:t.id)===a}),h=null!==(_=null==d?void 0:null===(t=d.prices)||void 0===t?void 0:t.grand_total)&&void 0!==_?_:0;p.track("app:cartSummary_productRemoved",{product_id:null==m?void 0:null===(l=m.product)||void 0===l?void 0:l.sku,sku:null==m?void 0:null===(r=m.product)||void 0===r?void 0:r.sku,name:null==m?void 0:null===(n=m.product)||void 0===n?void 0:n.name,brand:v.R9.brand,price:null==m?void 0:null===(s=m.product)||void 0===s?void 0:null===(i=s.gaia_prices)||void 0===i?void 0:i.final_price,quantity:1,image_url:null==m?void 0:null===(o=m.product)||void 0===o?void 0:o.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(null==m?void 0:null===(c=m.product)||void 0===c?void 0:c.url_key).concat(null==m?void 0:null===(u=m.product)||void 0===u?void 0:u.url_suffix),cart_id:w,extra:{total:h,products:e.map((e,t)=>({product_id:e.product.sku,sku:e.product.sku,name:e.product.name,brand:v.R9.brand,price:e.product.gaia_prices.final_price,quantity:e.quantity,image_url:e.product.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(e.product.url_key).concat(e.product.url_suffix)})),cartCount:Array.isArray(((null==d?void 0:d.items)||{}).length)?d.items.length:0}})}}},handleBlur=async()=>{""===g||g<=0?x(1):g>r&&x(r),await updateQuantity(a,g)},updateQuantity=async(e,t)=>{try{var a,l,r;f(!0),await m(e,t,{has_cashback:null!==(a=null==I?void 0:I.has_cashback)&&void 0!==a&&a,additional_services:null!==(l=null==I?void 0:I.additional_services)&&void 0!==l?l:[],isArmed:null!==(r=null==I?void 0:I.is_armed)&&void 0!==r&&r})}catch(e){console.error(e)}finally{f(!1)}};return(0,c.jsxs)(c.Fragment,{children:[b&&(0,c.jsx)(h.Z,{fullSize:!0}),(0,c.jsxs)("div",{className:"".concat(y().container),children:[s&&(0,c.jsx)("span",{className:y()["container_label-qty"],children:g}),!s&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("button",{onClick:handleDecrement,id:"ga-remove-qty-item",disabled:1===g,className:y().container_minus,children:(0,c.jsx)("i",{className:y().container_minus_min})}),(0,c.jsx)("input",{type:"number",value:g,onInput:e=>{let t=parseInt(e.target.value);isNaN(t)?x(""):t<=0?x(1):t>r?x(r):x(t)},onBlur:handleBlur,className:y().container_input,max:r,id:a}),(0,c.jsx)("button",{onClick:handleIncrement,id:"ga-add-qty-item",className:y().container_plus,children:"+"})]})]})]})};function arrow_down_extends(){return(arrow_down_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{amount:t}=e,a=(0,v.PR)(t);return(0,c.jsx)("div",{className:"p-[8px] bg-[#ececfd] text-[#3841E5] text-[14px] font-extrabold text-center",children:"Obtienes ".concat(a," de cashback en la entrega \uD83E\uDD11")})};CashbackLabel.propTypes={amount:f().number},CashbackLabel.defaultProps={amount:0};var k=a(76958);let TotalSummary=e=>{var t,a,l,r,n,i,s,o,m,p,h,g,x,y,b,f,C;let{floatCart:N,shippingAmount:S,checkout:E,askForClose:A}=e,[L,Z]=(0,u.useState)(!1),[P,O]=(0,u.useState)(""),[D,R]=(0,u.useState)(null),[q,U]=(0,u.useState)(null),[H,F]=(0,u.useState)(!1),B=d.Z.TOTAL_SUMMARY.LABEL_TOTAL,V=d.Z.TOTAL_SUMMARY.LABEL_SUBTOTAL,G=d.Z.MY_ACCOUNT_SLIDE.LABEL_WALLET,z=d.Z.TOTAL_SUMMARY.LABEL_SHIPPING,Y=d.Z.TOTAL_SUMMARY.LABEL_ADDITIONAL_SERVICES,W=d.Z.TOTAL_SUMMARY.LABEL_DISCOUNT,Q=d.Z.TOTAL_SUMMARY.LABEL_HAVE_COUPON,X=d.Z.TOTAL_SUMMARY.LABEL_ADD_IT,K=d.Z.TOTAL_SUMMARY.LABEL_EDIT_COUPON,J=d.Z.TOTAL_SUMMARY.LABEL_ADD_IT_EDIT,$=d.Z.TOTAL_SUMMARY.LABEL_VIEW_CART,ee=d.Z.TOTAL_SUMMARY.LABEL_ENTER_COUPON,et=d.Z.TOTAL_SUMMARY.LABEL_ADD_CPUPON,ea=d.Z.TOTAL_SUMMARY.LABEL_BUY_NOW,el=(0,_.z$)(),{quote:er,applyCoupon:en,removeCoupon:ei,blockPage:es,unblockPage:eo,currentEstimateShippingMethods:ec,getCurrentCashbackAmount:ed}=(0,j.Z)(),eu=Array.isArray(null==er?void 0:null===(t=er.prices)||void 0===t?void 0:t.discounts)&&er.prices.discounts.length>0,e_=ed(),em=null!==(x=null===(l=null!==(g=null==er?void 0:er.total_segments)&&void 0!==g?g:[])||void 0===l?void 0:null===(a=l.find(e=>"total_additional_services"===e.code))||void 0===a?void 0:a.value)&&void 0!==x?x:0;if((0,u.useMemo)(()=>null==er?void 0:er.items.reduce((e,t)=>{var a,l,r;return(null==t?void 0:t.is_armed)&&(null==t?void 0:null===(a=t.product)||void 0===a?void 0:a.sku)?e+(0,k.ip)(null==t?void 0:null===(l=t.product)||void 0===l?void 0:l.sku,null!==(r=null==t?void 0:t.quantity)&&void 0!==r?r:0):e},0),[er]),!(null==er?void 0:er.items)||(null==er?void 0:er.items.length)===0)return null;let ep=null!==er.applied_coupons&&er.applied_coupons[0].code,handleChangeCoupon=e=>{e.target.value.length<1?R("Ingresa un cup\xf3n"):R(null),O(e.target.value)},handleClickShowInput=e=>{el.track("app:checkout_click_agregar_cupon",{addCoupon:e}),Z(!L),ep&&O(ep)},redeemCoupon=async e=>{try{var t;F(!0),es();let a=await en(e),l=null!==(t=null==a?void 0:a.applied_coupons)&&void 0!==t?t:null;null!==l?(R(null),Z(!L),U(!1),O(e)):(e===ep?R("Ingresa un cup\xf3n diferente"):R("Ingresa un cup\xf3n v\xe1lido"),U(!1)),el.track("app:cartSummary_redeemCouponClick",{coupon:e})}catch(e){console.error(e)}finally{F(!1),eo()}},removeCoupon=async()=>{try{F(!0),es(),await ei()}catch(e){console.error(e)}finally{eo(),F(!1)}},handleBuyNowClick=()=>{(0,v.gB)("/checkout/")},FreeShippingRow=()=>(0,c.jsxs)("div",{className:"flex justify-between font-bold text-[#0d84ff]",children:[(0,c.jsx)("div",{children:"Env\xedo"}),(0,c.jsx)("div",{children:"GRATIS \uD83E\uDD73"})]});if(!N){console.log("cart"),console.log(er.total_segments);let{total_segments:e}=er,t=[{code:"subtotal",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_subtotal,children:[(0,c.jsx)("span",{className:M()["container_subtotal_label-checkout"],children:V}),(0,c.jsx)("span",{className:M().container_subtotal_value,children:(0,v.PR)(e,{minDec:2,maxDec:2,hideZeroCents:!0})})]})},{code:"mp_store_credit_spent",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_subtotal,children:[(0,c.jsx)("span",{className:M()["container_subtotal_label-checkout"],children:G}),(0,c.jsx)("span",{className:M().container_subtotal_value,children:(0,v.PR)(e,{minDec:2,maxDec:2,hideZeroCents:!0})})]})},{code:"free_shipping",component:(e,t)=>(0,c.jsx)(FreeShippingRow,{})},{code:"shipping",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_shipping,children:[(0,c.jsx)("span",{className:M()["container_shipping_label-checkout"],children:z}),(0,c.jsx)("span",{className:M().container_shipping_value,children:(0,v.PR)(e,{minDec:2,maxDec:2,hideZeroCents:!0})})]})},{code:"total_additional_services",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_subtotal,children:[(0,c.jsx)("span",{className:M()["container_shipping_label-checkout"],children:Y}),(0,c.jsx)("span",{className:M().container_shipping_value,children:(0,v.PR)(em,{minDec:2,maxDec:2,hideZeroCents:!0})})]})},{code:"discount",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_discount,children:[(0,c.jsx)("span",{children:W}),(0,c.jsx)("div",{children:(0,c.jsxs)("div",{className:M().container_discount_grid,children:[(0,c.jsx)("span",{className:M().container_discount_grid_label,children:t||"Descuento"}),(0,c.jsx)("span",{className:M().container_discount_grid_value,children:(0,v.PR)(e,{minDec:2,maxDec:2,hideZeroCents:!0})})]})})]})},{code:"mifee",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_subtotal,children:[(0,c.jsx)("span",{className:M()["container_subtotal_label-checkout"],children:"Costo por transacci\xf3n"}),(0,c.jsx)("span",{className:M().container_subtotal_value,children:(0,v.PR)(e,{minDec:2,maxDec:2,hideZeroCents:!0})})]})},{code:"grand_total",component:(e,t)=>(0,c.jsxs)("div",{className:M().container_total,children:[(0,c.jsx)("span",{className:M()["container_total_label-checkout"],children:B}),(0,c.jsx)("span",{className:M().container_total_value,children:(0,v.PR)(e,{minDec:2,maxDec:2,hideZeroCents:!0})})]})}];return(0,c.jsxs)("div",{className:M()["container-checkout"],children:[(0,c.jsxs)("section",{children:[(0,c.jsx)(()=>{let a=e.find(e=>"shipping"===e.code);return void 0!==a&&a.value,t.map(t=>{var l,r,n,i,s;if("free_shipping"===t.code&&v.Pq>0)return(null==er?void 0:null===(r=er.prices)||void 0===r?void 0:null===(l=r.subtotal_excluding_tax)||void 0===l?void 0:l.value)>=v.Pq&&t.component();let o=e.find(e=>e.code===t.code);if(o&&o.value&&"shipping"!==t.code){let e="grand_total"===t.code,l=e?o.value+(null!==(n=null==ec?void 0:ec.amount)&&void 0!==n?n:0):o.value,r=e?l-(null!==(i=null==a?void 0:a.value)&&void 0!==i?i:0):l;return t.component(r<0?l:r,o.title)}if("shipping"===t.code&&(null==ec?void 0:ec.amount)&&(null!==(s=null==ec?void 0:ec.amount)&&void 0!==s?s:0)>0)return t.component(ec.amount,"Env\xedo")})},{}),(0,c.jsx)("div",{className:M()["container_msi-message"],children:(0,c.jsx)(T.s,{price:null!==(f=null==er?void 0:null===(b=er.prices)||void 0===b?void 0:null===(y=b.grand_total)||void 0===y?void 0:y.value)&&void 0!==f?f:0,type:"checkout"})}),e_>0&&(0,c.jsx)("div",{className:"py-[15px] border-b-[1px] border-[#DCDCDC]",children:(0,c.jsx)(CashbackLabel,{amount:e_})})]}),!E&&(0,c.jsx)("div",{className:M()["container_buy-now"],children:(0,c.jsx)(w.Z,{idButton:"ga-floatingcart-buynow",className:"w-full !text-[20px]",text:ea,variant:"primary_transactional",size:"",uppercase:!0,onClick:handleBuyNowClick})}),(0,c.jsx)("div",{className:M()["container_view-cart"],children:(0,c.jsx)("a",{id:"ga-floatingcart-carrito",href:"/checkout/cart/",children:$})}),(0,c.jsx)("div",{className:M()["container_have-coupon"],children:(0,c.jsx)("button",{id:"ga-apply-discount",onClick:()=>handleClickShowInput(),children:ep?(0,c.jsx)(NotRedeemed,{titleLabel:K,actionLabel:J}):(0,c.jsx)(Redeemed,{titleLabel:Q,actionLabel:X})})}),(0,c.jsxs)("div",{className:[M()["container_show-coupon"],L?"max-h-auto":"max-h-0"].join(" "),children:[(0,c.jsxs)("div",{className:M()["container_show-coupon_grid"],style:null!==D?{borderColor:"#FF3421"}:{borderColor:"#f9f9f9"},children:[(0,c.jsx)("input",{placeholder:ee,className:M()["container_show-coupon_grid_input"],type:"text",value:P,onChange:handleChangeCoupon,readOnly:ep,disabled:ep,style:null!==D?{color:"#FF3421"}:{color:"#000000"}}),ep?(0,c.jsx)(w.Z,{icon:(0,c.jsx)(I.Z,{className:[M()["zipcode-loading-icon"],H?"":"hidden"].join(" "),width:14,height:14,color:"white"}),iconPosition:"left",variant:"primary_general",text:"BORRAR",uppercase:!0,className:M()["container_show-coupon_grid_button"],onClick:removeCoupon,disabled:H}):(0,c.jsx)(w.Z,{icon:(0,c.jsx)(I.Z,{className:[M()["zipcode-loading-icon"],H?"":"hidden"].join(" "),width:14,height:14,color:"white"}),iconPosition:"left",variant:"primary_general",text:et,uppercase:!0,className:M()["container_show-coupon_grid_button"],onClick:()=>redeemCoupon(P),disabled:!P||H})]}),!q&&(0,c.jsx)("span",{className:"text-[12px]",style:null!==D?{color:"#FF3421"}:{color:"#000000"},dangerouslySetInnerHTML:{__html:(0,v.n8)(D)}})]}),!!E&&(0,c.jsx)("section",{className:"w-[85%] mx-auto hidden xs:block",children:(0,c.jsx)(w.Z,{idButton:"ga-floatingcart-buynow",className:"w-full !text-[20px]",text:"Proceder al pago",variant:"primary_transactional",size:"",uppercase:!0,onClick:A})})]})}return(0,c.jsxs)("div",{className:M().container,children:[(0,c.jsxs)("section",{children:[(0,c.jsxs)("div",{className:M().container_subtotal,children:[(0,c.jsx)("span",{className:M().container_subtotal_label,children:V}),(0,c.jsx)("span",{className:M().container_subtotal_value,children:(0,v.PR)(null==er?void 0:null===(r=er.prices)||void 0===r?void 0:r.subtotal_including_tax.value,{minDec:2,maxDec:2,hideZeroCents:!0})})]}),em>0&&(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:M().container_subtotal,children:[(0,c.jsx)("span",{className:M().container_subtotal_label,children:Y}),(0,c.jsx)("span",{className:M().container_subtotal_value,children:(0,v.PR)(em,{minDec:2,maxDec:2,hideZeroCents:!0})})]})}),v.Pq>0&&(null==er?void 0:null===(i=er.prices)||void 0===i?void 0:null===(n=i.subtotal_excluding_tax)||void 0===n?void 0:n.value)>=v.Pq&&(0,c.jsx)(FreeShippingRow,{}),eu&&(0,c.jsxs)("div",{className:M().container_discount,children:[(0,c.jsx)("span",{children:W}),(null==er?void 0:null===(s=er.prices)||void 0===s?void 0:s.discounts)&&(0,c.jsx)(c.Fragment,{children:er.prices.discounts.map((e,t)=>{var a,l;return(0,c.jsx)("div",{children:(0,c.jsxs)("div",{className:M().container_discount_grid,children:[(0,c.jsx)("span",{className:M().container_discount_grid_label,children:null!==(l=null==e?void 0:e.label)&&void 0!==l?l:W}),(0,c.jsxs)("span",{className:M().container_discount_grid_value,children:["-",(0,v.PR)(null==e?void 0:null===(a=e.amount)||void 0===a?void 0:a.value,{minDec:2,maxDec:2,hideZeroCents:!0})]})]})},t)})})]}),(0,c.jsxs)("div",{className:M().container_total,children:[(0,c.jsx)("span",{children:B}),(0,c.jsx)("span",{className:M().container_total_value,children:(0,v.PR)(null==er?void 0:null===(m=er.prices)||void 0===m?void 0:null===(o=m.grand_total)||void 0===o?void 0:o.value,{minDec:2,maxDec:2,hideZeroCents:!0})})]}),e_>0&&(0,c.jsx)("div",{className:"py-[15px]",children:(0,c.jsx)(CashbackLabel,{amount:e_})}),(0,c.jsx)("div",{className:M()["container_buy-now"],children:(0,c.jsx)(w.Z,{idButton:"ga-floatingcart-buynow",className:"w-full !text-[20px]",text:ea,variant:"primary_transactional",size:"",uppercase:!0,onClick:handleBuyNowClick})}),(0,c.jsx)("div",{className:M()["container_msi-message"],children:(0,c.jsx)(T.s,{price:null!==(C=null==er?void 0:null===(h=er.prices)||void 0===h?void 0:null===(p=h.grand_total)||void 0===p?void 0:p.value)&&void 0!==C?C:0,type:"flying-cart"})})]}),(0,c.jsx)("div",{className:M()["container_view-cart"],children:(0,c.jsx)("a",{id:"ga-floatingcart-carrito",href:"/checkout/cart/",children:$})}),(0,c.jsx)("div",{className:M()["container_have-coupon"],children:(0,c.jsx)("button",{id:"ga-apply-discount",onClick:()=>handleClickShowInput(),children:ep?(0,c.jsx)(NotRedeemed,{titleLabel:K,actionLabel:J}):(0,c.jsx)(Redeemed,{titleLabel:Q,actionLabel:X})})}),(0,c.jsxs)("div",{className:[M()["container_show-coupon"],L?"max-h-auto":"max-h-0"].join(" "),children:[(0,c.jsxs)("div",{className:M()["container_show-coupon_grid"],style:null!==D?{borderColor:"#FF3421"}:{borderColor:"#f9f9f9"},children:[(0,c.jsx)("input",{placeholder:ee,className:M()["container_show-coupon_grid_input"],type:"text",value:P,onChange:handleChangeCoupon,readOnly:ep,disabled:ep,style:null!==D?{color:"#FF3421"}:{color:"#000000"}}),ep?(0,c.jsx)(w.Z,{icon:(0,c.jsx)(I.Z,{className:[M()["zipcode-loading-icon"],H?"":"hidden"].join(" "),width:14,height:14,color:"white"}),iconPosition:"left",variant:"primary_general",text:"BORRAR",uppercase:!0,className:M()["container_show-coupon_grid_button"],onClick:removeCoupon,disabled:H}):(0,c.jsx)(w.Z,{icon:(0,c.jsx)(I.Z,{className:[M()["zipcode-loading-icon"],H?"":"hidden"].join(" "),width:14,height:14,color:"white"}),iconPosition:"left",variant:"primary_general",text:et,uppercase:!0,className:M()["container_show-coupon_grid_button"],onClick:()=>redeemCoupon(P),disabled:!P||H})]}),!q&&(0,c.jsx)("span",{className:"text-[12px]",style:null!==D?{color:"#FF3421"}:{color:"#000000"},dangerouslySetInnerHTML:{__html:(0,v.n8)(D)}})]})]})};TotalSummary.defaultProps={floatCart:!1};let Redeemed=e=>{let{titleLabel:t,actionLabel:a}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{children:t}),(0,c.jsx)("span",{className:M()["container_have-coupon_action"],children:a})]})},NotRedeemed=e=>{let{titleLabel:t,actionLabel:a}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{children:t}),(0,c.jsx)("span",{className:M()["container_have-coupon_action"],children:a})]})};var human_date=e=>{let{startDay:t,endDay:a,postcode:l}=e;if(a(0,v.rN)(t),null),n=(0,v.Ab)(()=>(0,v.rN)(a),null);return null===r||null===n?null:(0,c.jsxs)(c.Fragment,{children:["Entre el ",(0,c.jsx)("strong",{children:r})," - ",(0,c.jsxs)("strong",{children:[n," "]}),!!l&&(0,c.jsxs)(c.Fragment,{children:["al CP ",l]})]})},gabo_human_date=e=>{let{deliveryDaysText:t}=e,a=/^(\d+)\s+a\s+(\d+)\s+.+al\s+C\.P\.\s+(\d{5}).*/mi.exec(t);if(null===a||4!==a.length)return null;let l=parseInt(a[1]),r=parseInt(a[2]),n=a[3];return(0,c.jsx)(human_date,{startDay:l,endDay:r,postcode:n})},S=a(5323),E=a(90512),alerts_alert=e=>{let{type:t,className:a,children:l}=e;return(0,c.jsx)("div",{className:(0,E.Z)([a,"flex items-center gap-4 w-full border-[1px] border-solid p-[12px] rounded xs:p-[8px]",{"bg-[#f2f2f2] border-[#e4e4e4]":"info"===t||"success"===t||"error"===t||"warning"===t,"bg-[#fdf5ea] border-[#f59f00]":"active"===t}]),children:l})},A=a(56386),additional_services_flying_cart_block=e=>{var t,a,l,r,n,i,s;let{quote:o,blockPage:d,unblockPage:_,isLoading:m}=(0,j.Z)(),p=(0,C.q)(e=>e.updateProduct),{quoteItemId:g,readonly:x,onlyEnabled:y}=e,b=null!==(r=null===(t=null!==(l=null==o?void 0:o.items)&&void 0!==l?l:[])||void 0===t?void 0:t.find(e=>(null==e?void 0:e.id)===g))&&void 0!==r?r:null,f=null!==(n=null==b?void 0:b.additional_services)&&void 0!==n?n:[],w=null!==(i=null==b?void 0:null===(a=b.product)||void 0===a?void 0:a.services)&&void 0!==i?i:[],N=S.filter(e=>w.includes(e.code)),M=null!==(s=null==b?void 0:b.is_armed)&&void 0!==s&&s,I=(0,C.q)(e=>e.unarmedSettings),T=(0,u.useMemo)(()=>I.map(e=>e.armed),[I]),L=(0,u.useMemo)(()=>{var e;return null!==(e=I.find(e=>{var t;return e.armed===(null==b?void 0:null===(t=b.product)||void 0===t?void 0:t.sku)}))&&void 0!==e?e:null},[b,T]),getService=e=>S.find(t=>t.code===e),getServiceName=e=>{var t;let a=getService(e);return null!==(t=null==a?void 0:a.name)&&void 0!==t?t:e},toggleRequestService=async e=>{let{code:t,armed:a}=e;try{var l,r,n,i,s;d();let e=[...f];if(t){let a=getService(t),i=f.findIndex(e=>e.code===t);if(-1===i){let t=k.sk(a,null!==(n=null==b?void 0:null===(r=b.prices)||void 0===r?void 0:null===(l=r.price)||void 0===l?void 0:l.value)&&void 0!==n?n:0);e.push({...a,additionalCost:t})}else e.splice(i,1)}await p(g,null!==(i=null==b?void 0:b.quantity)&&void 0!==i?i:0,{additional_services:k.fl(e),isArmed:null!=a?a:M,has_cashback:null!==(s=null==b?void 0:b.has_cashback)&&void 0!==s&&s})}catch(e){A.Z.debug("[ADDITIONAL-SERVICES-FLYING-CART-BLOCK] Error al bloquear la p\xe1gina",e)}finally{_()}},hasService=e=>f.some(t=>t.code===e),getItemService=e=>{var t;return null==b?void 0:null===(t=b.additional_services)||void 0===t?void 0:t.find(t=>t.code===e)},getItemServiceCost=e=>{var t,a,l,r,n,i;let s=getService(e),o=getItemService(e);return o&&(null==o?void 0:o.totalPrice)!==void 0?null!==(r=null==o?void 0:o.totalPrice)&&void 0!==r?r:s.cost*(null!==(l=null==b?void 0:b.quantity)&&void 0!==l?l:0):k.sk(s,null!==(n=null==b?void 0:null===(a=b.prices)||void 0===a?void 0:null===(t=a.price)||void 0===t?void 0:t.value)&&void 0!==n?n:0)*(null==b?void 0:b.quantity)};return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("section",{className:"additional-services flex flex-col gap-1",children:[N.map(e=>y&&!hasService(e.code)?null:(0,c.jsx)(alerts_alert,{type:hasService(e.code)?"active":"info",className:"text-[12px]",children:(0,c.jsxs)("div",{className:"flex gap-3 items-center w-full",children:[!x&&(0,c.jsx)("input",{className:(0,E.Z)(["cursor-pointer w-[16px] h-[16px] m-0 p-0",{"accent-black":!hasService(e.code),"accent-primary":hasService(e.code)}]),type:"checkbox",id:"additional-services",checked:hasService(e.code),onChange:()=>toggleRequestService({code:e.code}),name:"additional-services"}),(0,c.jsxs)("div",{className:"flex items-center flex-grow",children:[(0,c.jsxs)("span",{className:"mr-auto inline-block",children:[hasService(e.code)&&getServiceName(e.code),!hasService(e.code)&&(0,c.jsxs)(c.Fragment,{children:["A\xf1adir ",getServiceName(e.code)]})]}),(0,c.jsx)("span",{className:"ml-auto inline-block",children:(0,c.jsxs)("strong",{children:[hasService(e.code)&&"+"," ",(0,v.PR)(getItemServiceCost(e.code))]})})]})]})},e.code)),!!L&&(!y||y&&M)&&(0,c.jsx)(alerts_alert,{type:M?"active":"info",className:"text-[12px]",children:(0,c.jsxs)("div",{className:"flex gap-3 items-center w-full",children:[!x&&(0,c.jsx)("input",{className:(0,E.Z)(["cursor-pointer w-[16px] h-[16px] m-0 p-0",{"accent-black":!M,"accent-primary":M}]),type:"checkbox",id:"additional-services",checked:M,onChange:()=>toggleRequestService({armed:!M}),name:"additional-services"}),(0,c.jsxs)("div",{className:"flex items-center flex-grow",children:[(0,c.jsxs)("span",{className:"mr-auto inline-block",children:[M&&"Armado: ".concat(L.label),!M&&(0,c.jsxs)(c.Fragment,{children:["A\xf1adir ",L.label]})]}),(0,c.jsx)("span",{className:"ml-auto inline-block",children:(0,c.jsxs)("strong",{children:[M&&"+"," ",(0,v.PR)((()=>{if(L){var e,t;let a=null!==(e=null==b?void 0:b.quantity)&&void 0!==e?e:0;return(null!==(t=null==L?void 0:L.cost)&&void 0!==t?t:0)*a}return 0})())]})})]})]})}),m&&(0,c.jsx)(h.Z,{fullSize:!0})]})})},L=a(36696),gaia_GaiaIconShipping=e=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 37 25",...e,children:[(0,c.jsx)("path",{d:"M36.06 10.795 30.964 5.59a1.225 1.225 0 0 0-.856-.361h-5.18l.554-3.843a1.212 1.212 0 0 0-.277-.964 1.206 1.206 0 0 0-.916-.41H4.687c-.663 0-1.205.542-1.205 1.205s.542 1.205 1.205 1.205h18.205l-2.23 15.638h-6.457a4.209 4.209 0 0 0-3.832-2.482 4.209 4.209 0 0 0-3.83 2.482H2.698c-.663 0-1.205.542-1.205 1.205s.542 1.205 1.205 1.205h3.518a4.2 4.2 0 0 0 4.144 3.542 4.2 4.2 0 0 0 4.145-3.542h7.18c.338 0 .64-.145.856-.374h1.699c.157 2.193 1.964 3.916 4.18 3.916a4.2 4.2 0 0 0 4.181-3.916h1.17a1.2 1.2 0 0 0 1.18-.976l1.41-7.24a1.213 1.213 0 0 0-.326-1.073l.024-.012Zm-3.988 6.88c-.735-1.253-2.072-2.109-3.626-2.109a4.188 4.188 0 0 0-3.627 2.109h-1.662L24.59 7.627h5.024l4.302 4.397-1.097 5.65h-.747Z"}),(0,c.jsx)("path",{d:"M28.157 8.639H26.59a.62.62 0 0 0-.602.518l-.458 3.373a.605.605 0 0 0 .602.687h3.253a.61.61 0 0 0 .603-.53l.205-1.627a.564.564 0 0 0-.133-.458l-1.445-1.747a.6.6 0 0 0-.47-.216h.012ZM2.41 9.084h4.94c.662 0 1.204-.542 1.204-1.204 0-.663-.542-1.205-1.205-1.205H2.41c-.662 0-1.204.542-1.204 1.205 0 .662.542 1.204 1.205 1.204ZM6.145 12.699c0-.663-.543-1.205-1.205-1.205H1.205c-.663 0-1.205.542-1.205 1.205 0 .662.542 1.205 1.205 1.205H4.94c.662 0 1.205-.543 1.205-1.205Z"})]}),shipping_progress_footer=()=>(0,c.jsx)("div",{className:"text-[12px]",children:"*En compras arriba de ".concat((0,v.PR)(v.Pq-1)," y en ciudades con cobertura de entrega.")}),free_shipping_info=()=>(0,c.jsxs)("div",{className:"mb-[15px] pb-[15px] border-b-[1px] border-[#e9e9e9]",children:[(0,c.jsxs)("div",{className:"flex gap-x-[5px] text-[14px] font-black",children:[(0,c.jsx)(gaia_GaiaIconShipping,{width:"20px",height:"20px",fill:"#000000"}),(0,c.jsx)("div",{children:"\xa1Tienes env\xedo gratis en tu compra!"})]}),(0,c.jsx)(shipping_progress_footer,{})]}),shipping_cost_progress=e=>{let{leftToFreeShipping:t,labelWidth:a}=e;return(0,c.jsxs)("div",{className:"mb-[15px]",children:[(0,c.jsxs)("div",{className:"flex gap-x-[5px] text-[14px] font-black",children:[(0,c.jsx)(gaia_GaiaIconShipping,{width:"20px",height:"20px",fill:"#000000"}),(0,c.jsxs)("div",{children:["Agrega ",(0,v.PR)(t)," m\xe1s y obt\xe9n env\xedo gratis*"]})]}),(0,c.jsx)("div",{className:"w-full py-[5px]",children:(0,c.jsx)("div",{className:"flex items-center w-full h-[12px] px-[1px] rounded-[5px] border-[1px] border-[#0d84ff] bg-[#eaf4ff]",children:(0,c.jsx)("div",{style:{width:a},className:"h-[8px] bg-[#0d84ff] rounded-[4px] transition-[width] duration-500"})})}),(0,c.jsx)(shipping_progress_footer,{})]})},Z=a(4761),P=a(742),O=a(18871),D=a.n(O),R=a(40336);let q=(l="ares_prod_9feb.v2",n="UJdC1MTA7qJb0rpU3DMV1bqBkPCtxXnQ",i=[{host:r="ts.gaia-design.workers.dev",port:443,protocol:"https"}],s=new(D()).SearchClient({nodes:i,apiKey:n}),new(D()).Client({nodes:i,apiKey:n}),{init:e=>{let{host:t,indexName:a,apiKey:o}=e;r=t,l=a,n=o,i=[{host:r,port:443,protocol:"https"}],s=new(D()).SearchClient({nodes:i,apiKey:n}),new(D()).Client({nodes:i,apiKey:n})},search:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=s.collections(a).documents();return await r.search(e,t)},searchBySkus:async e=>{let{sortBy:t="",onlyVisible:a=!1,skus:r=[],indexName:n=l,attributesToRetrieve:i,facetFilters:s=[]}=e,o=a?' && (visibility:"Catalog" || visibility:"Catalog, Search")':"",c=r.length>0?"sku: [".concat(r.join(","),"]").concat(o):"sku:".concat(r[0]).concat(o),d=await q.search({q:"*",query_by:"sku",filter_by:c,sort_by:t,include_fields:i,per_page:100});return q.getHits(d)},searchBySku:async e=>{let{sku:t,indexName:a=l,attributesToRetrieve:r}=e,n=await q.searchBySkus({skus:[t],indexName:a,attributesToRetrieve:r});return n.length>0?n[0]:null},getBestSellers:async function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,t=await q.search({q:"*",query_by:"",sort_by:"weighted_score:desc",per_page:50},{},e);return q.getHits(t)},searchByVariantCode:async e=>{let{sku:t,variantCode:a=null,indexName:r=l,attributesToRetrieve:n,facetFilters:i=[]}=e;t.includes("_")||(a=t),a||(a=t.includes("_")?t.split("_")[0]:t);let s='sku:="'.concat(t,'" || variant_code:="').concat(a,'" && (visibility:"Catalog" || visibility:"Catalog, Search")'),o=await q.search({q:"*",query_by:"sku,variant_code",filter_by:s,include_fields:n,per_page:100,sort_by:"_text_match(buckets: 5):desc, weighted_score:desc"},{},r);return q.getHits(o)},getRecommenders:async e=>{let{filter_by:t,query_by:a,limit:r,indexName:n=l,attributesToRetrieve:i=R.WJ}=e,s=await q.search({q:"*",query_by:a,filter_by:t,sort_by:"_text_match(buckets: 5):desc, weighted_score:desc",page:1,per_page:r,include_fields:i},{},n);return q.getHits(s)},getHits:e=>{var t;return(null!==(t=null==e?void 0:e.hits)&&void 0!==t?t:[]).length>0?e.hits.map(e=>e.document):[]}});var U=a(51649),recommender_up_sell=e=>{let{currentTotal:t,leftToFreeShipping:a}=e,[l,r]=(0,u.useState)(!1),[n,i]=(0,u.useState)([]),s=l?U.Vmf:U.OId,getUpsells=async()=>{let e=await q.getRecommenders({filter_by:"".concat('landing_pages:"Liquidaci\xf3n"',' && (visibility:"Catalog" || visibility:"Catalog, Search") && is_available:=true && price.MXN.default :>=').concat(a," && price.MXN.default :<= ").concat(a+500),query_by:"*",limit:10});i(e)};return(0,u.useEffect)(()=>{getUpsells()},[t]),(0,c.jsxs)("div",{className:"pb-[15px]",children:[(0,c.jsxs)("div",{className:"flex justify-center gap-x-[5px] w-full text-[14px] text-center font-semibold underline cursor-pointer",onClick:()=>r(!l),children:[(0,c.jsx)("div",{children:"Productos que podr\xedas agregar"}),(0,c.jsx)("div",{children:(0,c.jsx)(P.Z,{element:s,color:"#000000",size:18})})]}),l&&(0,c.jsx)(Z.Gx,{items:n,title:"",carouselId:"upsell",upsell:!0,source:"cart-recommendation"})]})},shipping_cost_section=e=>{let{currentTotal:t}=e,a=v.Pq-t,l=(1-a/v.Pq)*100,r="".concat(parseInt(l),"%");return(0,c.jsxs)("div",{className:"px-[15px] pt-[15px] mb-[15px] bg-[#F0F0F0]",children:[(0,c.jsx)(shipping_cost_progress,{leftToFreeShipping:a,labelWidth:r}),(0,c.jsx)(recommender_up_sell,{currentTotal:t,leftToFreeShipping:a})]})},label_free_shipping=e=>{let{currentTotal:t=0}=e;return t>=v.Pq?(0,c.jsx)(free_shipping_info,{}):(0,c.jsx)(shipping_cost_section,{currentTotal:t})};let CartComponent=e=>{var t,a;let{floatCart:l,onChange:r,shippingAmount:n,checkout:i,readonly:s,askForClose:o}=e,{quote:m,removeFromCart:x,deliveryMessages:y}=(0,j.Z)(),b=d.Z.CARD_SLIDE.LABEL_NO_PRODUCTS,f=d.Z.CARD_SLIDE.LABEL_TOTAL,w=d.Z.CARD_SLIDE.LABEL_SUMMARY,[N,M]=(0,u.useState)(!1),I=(0,_.z$)(),T=Object.values((null==m?void 0:m.items)||{}).length,[k,S]=(0,u.useState)(!0),E=(0,C.q)(e=>e.unarmedSettings);console.log({cart:m});let deleteProduct=async(e,t)=>{var a,l,n;M(!0),await x(e),r&&r(),M(!1);let i=Array.isArray(null==m?void 0:m.items)?m.items:[],s=null!==(n=null==m?void 0:null===(a=m.prices)||void 0===a?void 0:a.grand_total)&&void 0!==n?n:0;I.track("app:cartSummary_deleteProduct",{product_id:null==t?void 0:t.sku,sku:null==t?void 0:t.sku,name:null==t?void 0:t.name,brand:v.R9.brand,price:null==t?void 0:null===(l=t.gaia_prices)||void 0===l?void 0:l.final_price,quantity:0,image_url:null==t?void 0:t.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(null==t?void 0:t.url_key).concat(null==t?void 0:t.url_suffix),cart_id:m.id,extra:{total:s,products:i.map((e,t)=>({product_id:e.product.sku,sku:e.product.sku,name:e.product.name,brand:v.R9.brand,price:e.product.gaia_prices.final_price,quantity:1,image_url:e.product.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(e.product.url_key).concat(e.product.url_suffix)})),cartCount:Array.isArray(m.items.length)?m.items.length:0}})};if(!(null==m?void 0:m.items)||(null==m?void 0:m.items.length)===0)return(0,c.jsx)("div",{className:p().noProducts,children:b});let A=[p().wrapper,l?"":p()["wrapper-checkout"],k?"":p()["wrapper-closes"]],getItemArmedCost=(e,t)=>{if(t){var a,l;let r=null!==(a=null==e?void 0:e.quantity)&&void 0!==a?a:0;return(null!==(l=null==t?void 0:t.cost)&&void 0!==l?l:0)*r}return 0},totalWithoutAssembled=e=>{var t,a,l,r,n;let i=null!==(l=null==e?void 0:null===(a=e.prices)||void 0===a?void 0:null===(t=a.row_total)||void 0===t?void 0:t.value)&&void 0!==l?l:0,s=null!==(r=null==e?void 0:e.is_armed)&&void 0!==r&&r;if(!s)return i;let o=null!==(n=E.find(t=>{var a;return t.armed===(null==e?void 0:null===(a=e.product)||void 0===a?void 0:a.sku)}))&&void 0!==n?n:null;return getItemArmedCost(e,o),i};return(0,c.jsxs)("div",{className:A.join(" "),children:[!i&&v.Pq>0&&(0,c.jsx)(label_free_shipping,{currentTotal:null==m?void 0:null===(a=m.prices)||void 0===a?void 0:null===(t=a.subtotal_excluding_tax)||void 0===t?void 0:t.value}),(0,c.jsxs)("div",{className:k?"flex-1":"",children:[!l&&(0,c.jsx)("div",{className:[p().wrapper_title,"sm:hidden xs:hidden"].join(" "),children:w}),!l&&(0,c.jsxs)("div",{className:p().wrapper_subtitle,children:["".concat(T," producto").concat(T>1?"s":""),(0,c.jsx)("div",{className:p().wrapper_subtitle_collapse,onClick:()=>S(!k),children:k?(0,c.jsx)(arrow_up,{width:"20px",height:"20px"}):(0,c.jsx)(arrow_down,{width:"20px",height:"20px"})})]}),(0,c.jsxs)("div",{className:[p().wrapper_card,k?"":p()["wrapper_card-close"],l?"":p()["wrapper_card-checkout"],"overflow-y-auto"].join(" "),children:[N&&(0,c.jsx)(h.Z,{fullSize:!0}),Object.values(null==m?void 0:m.items).map((e,t)=>{var a,n,i,o,d,u,_,m,h;(null==e?void 0:e.product.name)&&(e.product.name=(0,v.R_)(e.product.sku)||e.product.name);let x=null!==(h=null==e?void 0:e.has_cashback)&&void 0!==h&&h,b=s?void 0:"/p/".concat(e.product.url_key,"/").concat(e.product.sku,".html");return(0,c.jsx)(g.default,{floatCart:l,variant:"slide-cart",usage:"cart",image:e.product.image.url,url:b,passRef:!1,name:null==e?void 0:e.name,size:"sm",stock:1,imageWidth:65,imageHeight:65,imageAlt:"Sofas",children:(0,c.jsxs)("div",{className:"justify-between w-full ".concat(s?"":"flex"),children:[(0,c.jsxs)("div",{className:p().wrapper_card_child,children:[(0,c.jsxs)("div",{className:[p().wrapper_card_child_title,"justify-between"].join(" "),children:[!s&&(0,c.jsxs)("div",{className:"flex",children:[(0,c.jsxs)("a",{href:b,children:[(0,c.jsx)("span",{className:p().wrapper_card_child_title_name,children:null==e?void 0:e.product.name}),x&&(0,c.jsx)(L.Z,{hasCashback:x})]}),(0,c.jsx)("br",{}),(0,c.jsx)("section",{className:"inline-block text-blue-600 text-[0.875rem]",children:y.length>t&&(0,c.jsx)(gabo_human_date,{deliveryDaysText:y[t]})})]}),s&&(0,c.jsxs)("div",{className:"".concat(y.length>t||x?"":"flex"),children:[(0,c.jsx)("span",{className:p().wrapper_card_child_title_name,children:null==e?void 0:e.product.name}),x&&(0,c.jsx)("div",{children:(0,c.jsx)(L.Z,{hasCashback:x})}),(0,c.jsx)("br",{}),y.length>t&&(0,c.jsx)("section",{className:"inline-block text-blue-600 text-[0.875rem]",children:(0,c.jsx)(gabo_human_date,{deliveryDaysText:y[t]})})]})]}),(0,c.jsxs)("div",{className:p().wrapper_card_child_grid,children:[(0,c.jsxs)("div",{className:p().wrapper_card_child_grid_price,children:[(null==e?void 0:null===(n=e.product)||void 0===n?void 0:null===(a=n.gaia_prices)||void 0===a?void 0:a.regular_price)!==(null==e?void 0:null===(o=e.product)||void 0===o?void 0:null===(i=o.gaia_prices)||void 0===i?void 0:i.final_price)&&(0,c.jsx)("del",{className:p().gray,children:(0,v.PR)(null==e?void 0:null===(u=e.product)||void 0===u?void 0:null===(d=u.gaia_prices)||void 0===d?void 0:d.regular_price)}),(0,c.jsxs)("span",{className:p().red,children:[" ",(0,v.PR)(null==e?void 0:null===(m=e.product)||void 0===m?void 0:null===(_=m.gaia_prices)||void 0===_?void 0:_.final_price)]})]}),(0,c.jsxs)("div",{children:[s&&(0,c.jsx)("div",{className:"text-xs text-[#929292]",children:"Cant"}),(0,c.jsx)(InputAddDim,{isFloatCart:l,readonly:s,onChange:r,id:e.id,qty:null==e?void 0:e.quantity,stock:99999,sku:e.product.sku})]}),(0,c.jsxs)("div",{className:p().wrapper_card_child_grid_total,children:[(0,c.jsx)("span",{className:p().gray,children:f}),(0,c.jsx)("span",{className:p().wrapper_card_child_grid_total_text,children:(0,v.PR)(totalWithoutAssembled(e))})]})]}),(0,c.jsx)("section",{className:"additional-services flex flex-col gap-4 my-2",children:(0,c.jsx)(additional_services_flying_cart_block,{onlyEnabled:s,readonly:s,quoteItemId:e.id})})]}),!s&&(0,c.jsx)("div",{className:"cursor-pointer",children:(0,c.jsx)(trashIcon,{fill:"#000",id:"ga-delete-product",strokeWidth:0,stroke:"",width:"18px",height:"18px",onClick:()=>deleteProduct(e.id,e.product)})})]})},"".concat(t,".").concat(e.product.sku))})]})]}),(0,c.jsx)("div",{className:p().wrapper_summary,children:(0,c.jsx)(TotalSummary,{floatCart:l,shippingAmount:n,checkout:i,askForClose:o})})]})};function arrow_right_extends(){return(arrow_right_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t{},shippingAmount:null};var arrow_right=function(e){return u.createElement("svg",arrow_right_extends({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16"},xmlSpace:"preserve"},e),u.createElement("path",{d:"M11.52 8.38c.18-.2.18-.52 0-.72L5.16.86A.458.458 0 0 0 4.82.7c-.12 0-.24.07-.34.16-.18.2-.18.52 0 .72l6.02 6.45-6.02 6.42c-.18.2-.18.52 0 .72.18.2.49.2.67 0l6.37-6.79z",style:{fill:"#1e1e1e"}}))},H=a(75640);let CartLayout=e=>{var t,a;let{checkout:l,flying:r,shippingAmount:n,onChange:i,readonly:s,className:o}=e,_=d.Z.TOTAL_SUMMARY.LABEL_TOTAL,m=d.Z.TOTAL_SUMMARY.LABEL_SUMMARY_CHECKOUT,[h,g]=(0,u.useState)(!1),{quote:x}=(0,j.Z)(),hideDropdownFlyingCart=()=>{g(!1)};return(0,c.jsx)(c.Fragment,{children:l?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{id:"mobile-checkout",className:o,children:[(0,c.jsxs)("div",{className:"".concat(p()["mobile-checkout_container_total"]),children:[(0,c.jsx)("span",{className:p()["mobile-checkout_container_total_label-checkout"],children:_}),(0,c.jsx)("span",{className:p()["mobile-checkout_container_total_value"],children:(0,v.PR)(null==x?void 0:null===(a=x.prices)||void 0===a?void 0:null===(t=a.grand_total)||void 0===t?void 0:t.value,{minDec:2,maxDec:2,hideZeroCents:!0})})]}),(0,c.jsxs)("div",{className:p()["mobile-checkout_container_summary"],onClick:()=>{g(!0)},children:[(0,c.jsx)("span",{className:p()["mobile-checkout_container_summary_label"],children:m}),(0,c.jsx)(arrow_right,{stroke:"#ef9c2b",width:10,height:10,className:"ml-1"})]}),(0,c.jsx)(H.Z,{variant:"flying-cart",title:"Carrito",show:h,handleClose:hideDropdownFlyingCart,idClose:"ga-floatingcart-cerrar",children:(0,c.jsx)(CartComponent,{readonly:s,checkout:l,shippingAmount:n,onChange:i,askForClose:hideDropdownFlyingCart})})]}),(0,c.jsx)("div",{id:"dektop-checkout",className:o,children:(0,c.jsx)(CartComponent,{readonly:s,floatCart:r,shippingAmount:n,onChange:i,checkout:l})})]}):(0,c.jsx)(CartComponent,{readonly:s,floatCart:r,shippingAmount:n,onChange:i,checkout:l})})};CartLayout.propTypes={checkout:f().bool,flying:f().bool,shippingAmount:f().number,onChange:f().func},CartLayout.defaultProps={onChange:()=>{}};var F=CartLayout},96679:function(e,t,a){"use strict";a.d(t,{Z:function(){return deliveryCities}});var l=a(85893),r=a(16271),n=a(80296),i=a.n(n);let s=[{type:"allcities",state:"CDMX",cities:["Ciudad de M\xe9xico"]},{type:"allcities",state:"Edo. de M\xe9x",cities:["Estado de M\xe9xico"]},{type:"allcities",state:"Jalisco",cities:["Guadalajara"]},{type:"allcities",state:"Nuevo Le\xf3n",cities:["Monterrey"]},{type:"allcities",state:"Puebla",cities:["Atlixco","Cholula","Puebla"]},{type:"allcities",state:"Quer\xe9taro",cities:["Quer\xe9taro","San Juan del R\xedo"]},{type:"allcities",state:"Veracruz",cities:["Boca del R\xedo","C\xf3rdoba","Orizaba","Veracruz","Xalapa"]}];var o=a(7935);let FreeShippingLabel=()=>(0,l.jsx)("div",{className:"w-full text-center pb-[30px] text-[#0F84FF] font-extrabold",children:"\xa1Celebra una d\xe9cada! \uD83E\uDD73 Aprovecha env\xedo gratis en compras arriba de ".concat((0,r.PR)("8001"-1),"*")});var deliveryCities=()=>(0,l.jsxs)(l.Fragment,{children:[r.Pq>0&&(0,l.jsx)(FreeShippingLabel,{}),(0,l.jsx)("div",{className:i()["delivery-cities"],children:(0,l.jsxs)("div",{className:i()["delivery-cities_wrapper"],children:[(0,l.jsxs)("div",{className:i()["delivery-cities_wrapper_container"],children:[(0,l.jsx)("div",{className:i()["delivery-cities_wrapper_container_free"],children:(0,l.jsx)("dl",{className:i()["delivery-cities_wrapper_container_free_list"],children:s.map((e,t)=>(null==e?void 0:e.disabled)?null:"allcities"===e.type?(0,l.jsxs)("div",{className:i()["delivery-cities_wrapper_container_free_list_item"],children:[(0,l.jsxs)("dt",{className:i()["delivery-cities_wrapper_container_free_list_item_city"],children:[e.state,!!e.freeTag&&(0,l.jsx)("span",{className:"rounded bg-[#0f84ff] inline-block text-white text-sm px-2 normal-case ml-2 font-normal",children:"Env\xedo gratis \uD83D\uDE9A*"})]}),e.cities.map((e,t)=>(0,l.jsx)("dd",{className:i()["delivery-cities_wrapper_container_free_list_item_capital"],children:e},t))]},t):void 0)})}),(0,l.jsx)("div",{className:i()["delivery-cities_wrapper_container_charge"],children:(0,l.jsx)("dl",{className:i()["delivery-cities_wrapper_container_charge_list"],children:s.map((e,t)=>(null==e?void 0:e.disabled)?null:"charge"===e.type?(0,l.jsxs)("div",{className:i()["delivery-cities_wrapper_container_charge_list_item"],children:[(0,l.jsxs)("dt",{className:i()["delivery-cities_wrapper_container_charge_list_item_city"],children:[e.state,!!e.freeTag&&(0,l.jsx)("span",{className:"rounded bg-[#0f84ff] inline-block text-white text-sm px-2 normal-case ml-2 font-normal",children:"Env\xedo gratis \uD83D\uDE9A*"})]}),e.cities.map((e,t)=>(0,l.jsx)("dd",{className:i()["delivery-cities_wrapper_container_charge_list_item_capital"],children:e},t))]},t):void 0)})})]}),(0,l.jsx)("div",{className:i()["delivery-advice"],children:(0,l.jsxs)("div",{className:i()["delivery-advice_container"],children:[(0,l.jsx)("p",{className:i()["delivery-advice_container_label"],children:o.Z.DELIVERY_CITIES.ADVICE_LABEL}),(0,l.jsxs)("p",{className:i()["delivery-advice_container_action"],children:[o.Z.DELIVERY_CITIES.ADVICE_ACTION,(0,l.jsx)("a",{href:"/ciudades-gaia",target:"_blank",className:i()["delivery-advice_container_action_link"],children:o.Z.DELIVERY_CITIES.ADVICE_LINK})]})]})})]})})]})},742:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var l=a(85893);a(67294);var r=a(45697),n=a.n(r);let Icon=e=>{let{element:t}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(t,{className:e.className,width:e.size,size:e.size,onClick:e.onClick,height:e.size,color:e.color})})};Icon.propTypes={element:n().elementType.isRequired,className:n().string,color:n().string,size:n().number,onClick:n().func},Icon.defaultProps={size:5,className:"",color:"#9a9a9a"};var i=Icon},75003:function(e,t,a){"use strict";a.d(t,{Z:function(){return MercadoPagoLogo_MercadoPagoLogo}});var l=a(85893),r=a(67294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{images:t,width:a,height:r,alt:i,priority:s=!1}=e;return(0,l.jsx)("div",{className:[n().image].join(" "),children:t.filter(e=>{let{url:t}=e;return t}).map((e,t)=>(0,l.jsx)(o.ZP,{className:[n().image_graphic,n()["image_graphic-".concat(e.name)]].join(" "),src:e.url,width:a,height:r,priority:s,alt:i},t))})};ImageProduct.propTypes={images:s().array,width:s().number,height:s().number},t.Z=ImageProduct},20277:function(e,t,a){"use strict";a.d(t,{s:function(){return MsiAdvice}});var l=a(85893),r=a(24927),n=a(42718),i=a.n(n),s=a(16271),o=a(16806),c=a(7935),d=a(41059);a(31172);var u=a(67294);let MsiAdvice=e=>{let{price:t,type:a="product-list",sku:n}=e,i=(0,r.q)(e=>e.msiSettings),{config:o}=i,c=o.filter(e=>e.notice_amount<=t).sort((e,t)=>e.msi-t.msi),d=c.length>0?c[c.length-1]:null,[_,m]=(0,u.useState)(!1);if((0,u.useEffect)(()=>{m(!0)},[]),!t||!_||null===d||0===d.msi)return null;let p=t/d.msi,h=(0,s._J)(p);return"product-list"===a?(0,l.jsx)(MsiProductList,{price:t,msi:d.msi,monthlyAmount:p,monthlyAmountCurrency:h},"product-list-msi-advice-".concat(n)):"flying-cart"===a?(0,l.jsx)(MsiFlyingCart,{price:t,msi:d.msi,monthlyAmount:p,monthlyAmountCurrency:h},"flying-cart"):"product-view"===a?(0,l.jsx)(MsiProductView,{price:t,msi:d.msi,monthlyAmount:p,monthlyAmountCurrency:h}):"checkout"===a?(0,l.jsx)(MsiCheckout,{price:t,msi:d.msi,monthlyAmount:p,monthlyAmountCurrency:h}):null},MsiProductList=e=>{let{price:t,msi:a,monthlyAmount:r,monthlyAmountCurrency:n}=e,s="Hasta ".concat(a," pagos de ").concat(n,"*");return(0,l.jsx)("div",{className:i()["product-list"],children:(0,l.jsx)("span",{className:i()["product-list-text"],children:s},t)})},MsiFlyingCart=e=>{let{price:t,msi:a,monthlyAmount:r,monthlyAmountCurrency:n}=e;return(0,l.jsxs)("div",{className:i()["flying-cart-advice"],children:[(0,l.jsxs)("div",{className:i()["flying-cart-advice_init"],children:["Paga con tarjeta hasta ".concat(a," pagos fijos de"),(0,l.jsx)("span",{className:i()["flying-cart-advice_init-middle"],children:n})]}),(0,l.jsx)("div",{className:i()["flying-cart-advice_end"],children:""})]})},MsiProductView=e=>{let{price:t,msi:a,monthlyAmount:r,monthlyAmountCurrency:n}=e;return(0,l.jsx)("div",{className:i()["pdp-advice"],children:(0,l.jsxs)("div",{className:i()["pdp-advice_msi-advice"],children:[(0,l.jsxs)("div",{className:i()["pdp-advice_msi-advice_with-cart"],children:[(0,l.jsx)("b",{className:i()["pdp-advice_msi-advice_with-cart_topic"],children:c.Z.MSI_ADVICE.PDP.WITH_CARD_TOPIC}),(0,l.jsxs)("span",{className:i()["pdp-advice_msi-advice_with-cart_rule"],children:["hasta ",a," pagos fijos de ",(0,l.jsxs)("b",{children:[n,"*"]})," "]})]}),(0,l.jsx)("div",{className:i()["pdp-advice_msi-advice_without-cart"],children:(0,l.jsxs)(o.Y0,{children:[(0,l.jsx)(o.iq,{children:(0,l.jsx)("span",{className:i()["pdp-advice_msi-advice_without-cart_link"],children:c.Z.MSI_ADVICE.PDP.SEE_MORE})}),(0,l.jsx)(o.hz,{title:c.Z.MSI_ADVICE.PDP.MODAL_TITLE,subtitle:c.Z.MSI_ADVICE.PDP.MODAL_SUBTITLE,width:"940px",isFullScreen:!0,position:"bottom",children:(0,l.jsx)(d.Z,{})})]})})]})})},MsiCheckout=e=>{let{price:t,msi:a,monthlyAmount:r,monthlyAmountCurrency:n}=e;return(0,l.jsx)("div",{className:i()["pdp-advice"],children:(0,l.jsxs)("div",{className:[i()["pdp-advice_msi-advice"],i()["pdp-advice_msi-advice-checkout"]].join(" "),children:[(0,l.jsxs)("div",{className:i()["pdp-advice_msi-advice_with-cart"],children:[(0,l.jsx)("b",{className:i()["pdp-advice_msi-advice_with-cart_topic"],children:c.Z.MSI_ADVICE.PDP.WITH_CARD_TOPIC}),(0,l.jsxs)("span",{className:i()["pdp-advice_msi-advice_with-cart_rule"],children:["hasta ",a," pagos fijos de ",(0,l.jsxs)("b",{children:[n,"*"]})]})]}),(0,l.jsx)("div",{className:i()["pdp-advice_msi-advice_without-cart"],children:(0,l.jsxs)(o.Y0,{children:[(0,l.jsx)(o.iq,{children:(0,l.jsx)("span",{className:i()["pdp-advice_msi-advice_without-cart_link"],children:c.Z.MSI_ADVICE.PDP.SEE_MORE})}),(0,l.jsx)(o.hz,{title:c.Z.MSI_ADVICE.PDP.MODAL_TITLE,subtitle:c.Z.MSI_ADVICE.PDP.MODAL_SUBTITLE,width:"940px",isFullScreen:!0,position:"bottom",children:(0,l.jsx)(d.Z,{})})]})})]})})}},41059:function(e,t,a){"use strict";var l=a(85893),r=a(5625),n=a.n(r),i=a(7935),s=a(41967),o=a(75003),c=a(7781),d=a(83544),u=a(33848);a(31172);var _=a(56944),m=a(12780);t.Z=()=>(0,l.jsxs)("div",{className:n()["payment-methods"],children:[(0,l.jsxs)("div",{className:n()["payment-methods_item-card"],children:[(0,l.jsxs)("div",{className:n()["payment-methods_item-card_wrapper-icon"],children:[(0,l.jsx)(s.Z,{}),(0,l.jsx)(c.Z,{}),(0,l.jsx)(d.Z,{})]}),(0,l.jsxs)("div",{className:n()["payment-methods_item-card_wrapper-description"],children:[(0,l.jsx)("h3",{className:n()["payment-methods_item-card_wrapper-description_title"],children:i.Z.PAYMENT_METHODS.CARD.TITLE}),(0,l.jsxs)("p",{className:n()["payment-methods_item-card_wrapper-description_detail"],children:[(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.CARD.MSI.THREE.INIT}),i.Z.PAYMENT_METHODS.CARD.MSI.THREE.MIDDLE,(0,l.jsxs)("b",{children:[i.Z.PAYMENT_METHODS.CARD.MSI.THREE.END,","]}),(0,l.jsx)("br",{}),(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.CARD.MSI.SIX.INIT}),i.Z.PAYMENT_METHODS.CARD.MSI.SIX.MIDDLE,(0,l.jsxs)("b",{children:[i.Z.PAYMENT_METHODS.CARD.MSI.SIX.END," y"]}),(0,l.jsx)("br",{}),(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.CARD.MSI.ELDERLY.INIT}),i.Z.PAYMENT_METHODS.CARD.MSI.ELDERLY.MIDDLE,(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.CARD.MSI.ELDERLY.END})]}),(0,l.jsxs)("small",{className:n()["payment-advice-legend"],children:["*Pago a meses solo aplica para ",(0,l.jsx)("b",{children:"tarjetas de cr\xe9dito"}),"."]})]})]}),(0,l.jsxs)("div",{className:n()["payment-methods_item-mercadopago"],children:[(0,l.jsx)("div",{className:n()["payment-methods_item-mercadopago_wrapper-icon"],children:(0,l.jsx)(o.Z,{})}),(0,l.jsxs)("div",{className:n()["payment-methods_item-mercadopago_wrapper-description"],children:[(0,l.jsx)("h3",{className:n()["payment-methods_item-mercadopago_wrapper-description_title"],children:i.Z.PAYMENT_METHODS.MERCADO_PAGO.TITLE}),(0,l.jsxs)("p",{className:n()["payment-methods_item-mercadopago_wrapper-description_detail"],children:[(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.THREE.INIT}),i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.THREE.MIDDLE,(0,l.jsxs)("b",{children:[i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.THREE.END,","]}),(0,l.jsx)("br",{}),(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.SIX.INIT}),i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.SIX.MIDDLE,(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.SIX.END}),(0,l.jsx)("br",{}),(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.NINE.INIT}),i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.NINE.MIDDLE,(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.MERCADO_PAGO.MSI.NINE.END}),(0,l.jsx)("br",{})]}),(0,l.jsxs)("small",{className:n()["payment-advice-legend"],children:["*Pago a meses solo aplica para ",(0,l.jsx)("b",{children:"tarjetas de cr\xe9dito"}),"."]})]})]}),(0,l.jsxs)("div",{className:n()["payment-methods_item-paypal"],children:[(0,l.jsx)("div",{className:n()["payment-methods_item-paypal_wrapper-icon"],children:(0,l.jsx)(u.Z,{})}),(0,l.jsxs)("div",{className:n()["payment-methods_item-paypal_wrapper-description"],children:[(0,l.jsx)("h3",{className:n()["payment-methods_item-paypal_wrapper-description_title"],children:i.Z.PAYMENT_METHODS.PAYPAL.TITLE}),(0,l.jsxs)("p",{className:n()["payment-methods_item-paypal_wrapper-description_detail"],children:[(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.PAYPAL.FIRST}),i.Z.PAYMENT_METHODS.PAYPAL.SECOND,(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.PAYPAL.THIRD}),i.Z.PAYMENT_METHODS.PAYPAL.FOURTH,(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.PAYPAL.FIFTH})]})]})]}),(0,l.jsxs)("div",{className:n()["payment-methods_item-spei"],children:[(0,l.jsx)("div",{className:n()["payment-methods_item-spei_wrapper-icon"],children:(0,l.jsx)(_.Z,{})}),(0,l.jsxs)("div",{className:n()["payment-methods_item-spei_wrapper-description"],children:[(0,l.jsx)("h3",{className:n()["payment-methods_item-spei_wrapper-description_title"],children:i.Z.PAYMENT_METHODS.SPEI.TITLE}),(0,l.jsxs)("p",{className:n()["payment-methods_item-spei_wrapper-description_detail"],children:[i.Z.PAYMENT_METHODS.SPEI.FIRST,(0,l.jsx)("b",{children:i.Z.PAYMENT_METHODS.SPEI.SECOND}),i.Z.PAYMENT_METHODS.SPEI.THIRD]})]})]}),(0,l.jsxs)("div",{className:n()["payment-methods_item-oxxo"],children:[(0,l.jsx)("div",{className:n()["payment-methods_item-oxxo_wrapper-icon"],children:(0,l.jsx)(m.Z,{})}),(0,l.jsxs)("div",{className:n()["payment-methods_item-oxxo_wrapper-description"],children:[(0,l.jsx)("h3",{className:n()["payment-methods_item-oxxo_wrapper-description_title"],children:i.Z.PAYMENT_METHODS.OXXO.TITLE}),(0,l.jsx)("p",{className:n()["payment-methods_item-oxxo_wrapper-description_detail"],children:i.Z.PAYMENT_METHODS.OXXO.FIRST}),(0,l.jsx)("small",{className:n()["payment-advice-legend"],children:i.Z.PAYMENT_METHODS.OXXO.ADVICE})]})]})]})},75640:function(e,t,a){"use strict";var l=a(85893),r=a(65993),n=a.n(r);a(67294);var i=a(54441);t.Z=e=>{let{variant:t,title:a,handleClose:r,show:s,isCloseOut:o=!0,isFullScreen:c=!1,isOverlay:d=!1,children:u,id:_,idClose:m}=e,p=[n().popover,n()["popover_".concat(t)],c?n()["popover_full-screen"]:""];return(0,i.z)(s),s&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{id:_,className:p.join(" "),style:s?{}:{display:"none"},children:[(0,l.jsxs)("div",{className:n().popover_header,children:[(0,l.jsx)("div",{className:n().popover_header_title,children:a}),(0,l.jsx)("div",{id:m,className:n().popover_header_icon,tabIndex:0,role:"button",onClick:r,children:"\xd7"})]}),u]}),(0,l.jsx)("div",{tabIndex:0,role:"button",className:n().popover_overlay,style:d?{visibility:"visible"}:{visibility:"hidden"},onClick:e=>o?r():e.preventDefault()})]})}},4761:function(e,t,a){"use strict";a.d(t,{Gx:function(){return RelatedItems}});var l=a(85893),r=a(67294),n=a(6647),i=a(45697),s=a.n(i),o=a(35281),c=a.n(o),d=a(75160),u=a(95268),_=a.n(u),m=a(78222),p=a(16271),h=a(41664),g=a.n(h);let formatCurrency=e=>"$".concat(Number(e).toLocaleString("es-MX",{minimumFractionDigits:2})),RelatedItem=e=>{let{title:t,imageUrl:a,price:r,discount:n,msrp:i,msipromo:s,clickGA:o,productUrl:c,source:u}=e,h=(0,m.z$)(),v=formatCurrency(r),x=formatCurrency(i),y=(0,p.BM)(r,i),b=(0,p.Ul)(i,r),f="pim"===u?"Manual Recommendation":"Product Recommendation";"cart-recommendation"===u&&(f="Minicart Recommendation");let trackRecommendationClick=e=>{h.track("recommendation_click",{event_category:f,event_label:e})},callOriginalClickGA=e=>{e&&"function"==typeof e&&e()};return(0,l.jsxs)(g(),{href:c,className:_()["product-card_recommendation"],onClick:()=>{trackRecommendationClick(t),callOriginalClickGA(o)},children:[(0,l.jsx)(d.Z,{alt:t,width:200,height:200,src:a,className:_()["category_body-image"]}),(0,l.jsxs)("div",{className:"xs:px-2.5",children:[(0,l.jsx)("h3",{className:_()["product-title"],children:t}),(0,l.jsxs)("div",{className:"".concat(_()["product-price"]),children:[(0,l.jsx)("span",{className:"".concat(_()["the-price"]," ").concat(b?_()["promotion-price"]:""),children:v}),b&&(0,l.jsxs)("p",{className:_()["product-discount"],children:[(0,l.jsx)("span",{className:_()["msrp-price"],children:x}),(0,l.jsx)("span",{className:_()["off-percent"],children:y})]})]}),s?(0,l.jsxs)("p",{className:_()["msi-promo"],children:["Hasta ",(0,l.jsx)("span",{})," MSI de ",(0,l.jsx)("span",{})]}):null]})]})};RelatedItem.propTypes={title:s().string.isRequired,imageUrl:s().string.isRequired,price:s().number.isRequired,discount:s().number,msrp:s().number,clickGA:s().func,productUrl:s().string.isRequired,msipromo:s().bool};var v=a(94020),x=a.n(v),y=a(90512);let cart_upsell_formatCurrency=e=>"$".concat(Number(e).toLocaleString("es-MX",{minimumFractionDigits:2})),UpsellItem=e=>{let{title:t,imageUrl:a,price:r,discount:n,msrp:i,msipromo:s,clickGA:o,productUrl:c,source:u}=e,_=(0,m.z$)(),h=cart_upsell_formatCurrency(r),g=cart_upsell_formatCurrency(i),v=(0,p.BM)(r,i),b=(0,p.Ul)(i,r),f="pim"===u?"Manual Recommendation":"Product Recommendation",trackRecommendationClick=e=>{_.track("recommendation_click",{event_category:f,event_label:e})},callOriginalClickGA=e=>{e&&"function"==typeof e&&e()};return(0,l.jsxs)("a",{href:c,className:x()["product-card_recommendation"],onClick:()=>{trackRecommendationClick(t),callOriginalClickGA(o)},children:[(0,l.jsx)(d.Z,{alt:t,width:200,height:200,src:a,className:(0,y.Z)(x()["category_body-image"],"mix-blend-multiply")}),(0,l.jsxs)("div",{className:"xs:px-2.5",children:[(0,l.jsx)("h3",{className:x()["product-title"],children:t}),(0,l.jsxs)("div",{className:"".concat(x()["product-price"]),children:[(0,l.jsx)("span",{className:"".concat(x()["the-price"]," ").concat(b?x()["promotion-price"]:""),children:h}),b&&(0,l.jsxs)("p",{className:x()["product-discount"],children:[(0,l.jsx)("span",{className:x()["msrp-price"],children:g}),(0,l.jsx)("span",{className:x()["off-percent"],children:v})]})]}),s?(0,l.jsxs)("p",{className:x()["msi-promo"],children:["Hasta ",(0,l.jsx)("span",{})," MSI de ",(0,l.jsx)("span",{})]}):null]})]})};UpsellItem.propTypes={title:s().string.isRequired,imageUrl:s().string.isRequired,price:s().number.isRequired,discount:s().number,msrp:s().number,clickGA:s().func,productUrl:s().string.isRequired,msipromo:s().bool},a(59734);var b=a(39332),f=a(87165);let RecommendersCarousel=e=>{let t,a,{carouselTitle:i,carouselId:s,recommendations:o,source:d,upsell:u}=e,_=(0,r.useRef)(null),p=(0,m.z$)(),h=Math.ceil(o.length/4),{isXs:g,isSm:v}=(0,f.Z)(),x="cart-recommendation"===d?"Minicart Recommendation":"Product Recommendation";return(0,l.jsxs)("div",{className:(0,y.Z)(c().recommendations_wrapper,{"mt-[15px] mb-0 mx-0 gap-y-0":u,"max-w-[95%] mb-10 mt-10 mx-auto gap-y-2.5":!u}),children:[i&&(0,l.jsx)("div",{className:(0,y.Z)("font-bold",{"text-lg":!u,"text-[16px]":u}),children:i}),(0,l.jsx)(n.Z,{carouselId:s,className:(0,y.Z)(c().recommendations_carousel+" RecommendersCarousel",{upsell_recomendations:u}),itemsToScroll:1,itemsToShow:4,breakPoints:[{width:520,itemsToShow:2},{width:521,itemsToShow:4}],pagination:!1,ref:_,showArrows:(t=h,(g||v||u)&&(t=Math.ceil(o.length/2)),t>1),onNextEnd:e=>{let{index:t}=e;clearTimeout(a),t+1===h&&(a=setTimeout(()=>{_.current.goTo(0)},1500))},onNextStart:()=>{p.track("next_recommendation_click",{event_category:x})},onPrevStart:()=>{p.track("prev_recommendation_click",{event_category:x})},children:o.map((e,t)=>u&&(0,l.jsx)(UpsellItem,{title:e.title,imageUrl:e.imageUrl,price:e.price,discount:e.discount,msrp:e.msrp,clickGA:()=>{},productUrl:e.productUrl,msipromo:e.msipromo,source:d},"upsell-".concat(t))||!u&&(0,l.jsx)(RelatedItem,{title:e.title,imageUrl:e.imageUrl,price:e.price,discount:e.discount,msrp:e.msrp,clickGA:()=>{},productUrl:e.productUrl,msipromo:e.msipromo,source:d},"recommendation-".concat(t)))})]})};RecommendersCarousel.propTypes={carouselTitle:s().string,carouselId:s().string,recommendations:s().arrayOf(s().object).isRequired};let RelatedItems=e=>{let{items:t=[],title:a="Complementa tu compra con",carouselId:r="RelatedItems",source:n="",upsell:i=!1}=e,s=(0,b.useSearchParams)(),o=null!==s.get("pagina");if(o||!(t.length>0))return(0,l.jsx)(l.Fragment,{});{let e=t.map(e=>({title:e.name,imageUrl:e.image_url||e.image,price:e.price.MXN.default,msrp:e.msrp,discount:e.msrp-e.price.MXN.default,clickGA:"",productUrl:e.url_path}));return(0,l.jsx)(RecommendersCarousel,{carouselTitle:a,carouselId:r,recommendations:e,source:n,upsell:i})}}},81569:function(e,t,a){"use strict";var l=a(85893),r=a(59878),n=a.n(r),i=a(73935),s=a(67294);t.Z=e=>{let{fullSize:t=!1,...a}=e,r=(0,s.useRef)(null),[o,c]=(0,s.useState)(!1);return((0,s.useEffect)(()=>{r.current=document.querySelector("#global-loaders")},[]),(0,s.useEffect)(()=>{c(null!==r.current)},[r.current]),t)?(0,l.jsx)(l.Fragment,{children:o&&(0,i.createPortal)((0,l.jsx)("div",{className:t?n()["loader-overlay"]:"",...a,children:(0,l.jsx)("div",{className:n()["spinner-loader"]})}),r.current)}):(0,l.jsx)("div",{className:t?n()["loader-overlay"]:"",...a,children:(0,l.jsx)("div",{className:n()["spinner-loader"]})})}},36696:function(e,t,a){"use strict";var l=a(85893),r=a(56268),n=a.n(r),i=a(45697),s=a.n(i),o=a(90512);let TagOffer=e=>{let{caption:t="",extraTags:a=[],showDiscount:r=!1,hasCashback:i=!1}=e;if(!i)return null;let[s]=a,c=[{tagCaption:"30% OFF",classColor:"bg-[#F0B22B]"},{tagCaption:"40% OFF",classColor:"bg-[#CF87DD]"},{tagCaption:"50% OFF",classColor:"bg-[#9BC8A9]"}],d=t.toLowerCase().includes("ofertas hot"),u=t.toLowerCase().includes("precio irreal"),_=(()=>{if(i)return"bg-[#724BEC]";if(d)return"bg-[#EF9C2B]";if(u)return"bg-[#ED6140]";if("Mid Season Sale"===s){let e=c.find(e=>{let{tagCaption:a}=e;return a===t});if(e)return e.classColor}return"bg-[#FF3421]"})();return(0,l.jsx)("div",{className:(0,o.Z)(n()["tag-offer"],_),children:i?"+10% en cashback":d?"".concat(t," \uD83D\uDD25"):r?"Precio Hot Sale":t})};TagOffer.propTypes={caption:s().string},t.Z=TagOffer},11335:function(e,t,a){"use strict";var l=a(85893),r=a(2645),n=a.n(r),i=a(45697),s=a.n(i),o=a(7935);let TagPromotion=e=>{let{campaign:t,colorTag:a,textColor:r,stock:i,className:s}=e,c=s||n().tag,d={backgroundColor:a,color:r},u=t;if(i||(u="Sin stock"),!a||!r){let e=(e=>{switch(e){case"Renueva tu hogar":return o.Z.COLORS.green;case"Sin stock":return o.Z.COLORS.gray;default:return o.Z.COLORS.red}})(u);d.backgroundColor=e.bg,d.color=e.text}return u&&(0,l.jsx)("div",{className:c,children:(0,l.jsx)("span",{className:n().tag_promotion,style:d,children:u})})};TagPromotion.propTypes={campaign:s().string,colorTag:s().string,textColor:s().string},t.Z=TagPromotion},76663:function(e,t,a){"use strict";a.d(t,{Z:function(){return eI}});var l,r,n=a(85893),i=a(45697),s=a.n(i),o=a(67294),c=a(88099),d=a.n(c),u=a(7767),_=a(30109),m=a.n(_),p=a(34619);a(48294),a(50885);var h=a(41291),g=a(16271),v=a(7935),faqMenu=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:m()["faq-title"],children:(0,n.jsx)("h2",{children:v.Z.FAQMENU.FAQ_MENU_TITLE})}),(0,n.jsxs)("div",{className:m()["faq-info-details"],children:[(0,n.jsx)("div",{className:m()["faq-detail"],children:(0,n.jsx)("p",{children:v.Z.FAQMENU.FAQ_MENU_TXT})}),(0,n.jsxs)("div",{className:m()["faq-contact-details"],children:[(0,n.jsxs)("div",{className:m()["faq-contact-numbers"],children:[(0,n.jsx)("div",{className:m()["faq-contact-numbers-text"],children:(0,n.jsxs)("div",{className:m()["faq-number"],children:[(0,n.jsx)("span",{className:m()["faq-icon"],children:(0,n.jsx)(p.Z,{})}),(0,n.jsx)("p",{className:m()["wspp-txt"],children:(0,n.jsx)("a",{href:v.Z.HELP_TEXTS.HELP_WA_LINK,children:v.Z.FAQMENU.FAQ_MENU_WAPP_TXT})})]})}),(0,n.jsx)("div",{className:m()["faq-contact-numbers-phone"],children:(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:v.Z.HELP_TEXTS.HELP_WA_LINK,children:v.Z.HELP_TEXTS.WA_PHONE})})})]}),(0,n.jsx)("div",{className:m()["faq-contact-mail"],children:(0,n.jsxs)("div",{className:m()["faq-contact-mail-text"],children:[v.Z.FAQMENU.FAQ_MENU_MAIL_TXT,(0,n.jsxs)("a",{href:v.Z.HELP_TEXTS.HELP_CUSTOMER_EMAIL_URL,id:"cta-mail-top",children:[" ",v.Z.HELP_TEXTS.HELP_CUSTOMER_EMAIL]})]})}),(0,n.jsx)("div",{className:"".concat(m()["faq-contact-time"]),children:(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper"]),children:[(0,n.jsxs)("div",{className:"grid gap-y-[5px]",children:[(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper_side"]),children:[(0,n.jsx)("div",{className:"".concat(m()["faq-contact-time_wrapper_side_header"]),children:"AYUDA"}),(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper_side_cell"]),children:[(0,n.jsxs)("div",{children:["Lunes a Viernes",(0,n.jsx)("br",{}),"(Tel\xe9fono: ",(0,n.jsx)("a",{href:"tel:5585250137",children:"55 8525 0137"}),")"]}),(0,n.jsx)("div",{children:"8:00 a 18:00 HRS"})]})]})}),(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"".concat(m()["faq-contact-time_wrapper_side"]),children:(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper_side_cell"]),children:[(0,n.jsxs)("div",{children:["S\xe1bado",(0,n.jsx)("br",{}),"(Solo Whatsapp)"]}),(0,n.jsx)("div",{children:"9:00 a 14:00 HRS"})]})})})]}),(0,n.jsxs)("div",{className:"grid gap-y-[5px]",children:[(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper_side"]),children:[(0,n.jsx)("div",{className:"".concat(m()["faq-contact-time_wrapper_side_header"]),children:"COMPRAS"}),(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper_side_cell"]),children:[(0,n.jsx)("div",{children:"Lunes a Viernes"}),(0,n.jsx)("div",{children:"8:00 a 20:00 HRS"})]})]})}),(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"".concat(m()["faq-contact-time_wrapper_side"]),children:(0,n.jsxs)("div",{className:"".concat(m()["faq-contact-time_wrapper_side_cell"]),children:[(0,n.jsx)("div",{children:"S\xe1bado"}),(0,n.jsx)("div",{children:"9:00 a 14:00 HRS"})]})})})]})]})})]})]}),(0,n.jsx)("div",{className:m()["faq-btn-container"],children:(0,n.jsx)(h.Z,{text:"Ver preguntas frecuentes",variant:"primary_general",uppercase:!0,onClick:()=>(0,g.gB)("https://www.gaiadesign.com.mx/faq-contact-us")})})]});a(41664);var x=a(16806),y=a(96679),b=a(78222),topLinks=function(e){let{bgColor:t="#ff3421"}=e;(0,b.z$)();let[a,l]=(0,o.useState)(!1),[r,i]=(0,o.useState)(!1);function mouseEnter(e){"gaia-faq"===e&&l(!0)}function mouseLeave(e){"gaia-faq"===e&&l(!1)}let showModalShipping=()=>{i(!0)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.ZP,{title:v.Z.DELIVERY_CITIES.MODAL_TITLE,content:(0,n.jsx)(y.Z,{}),show:r,handleClose:()=>{i(!1)},width:"940px",isFullScreen:!1,position:"bottom"}),(0,n.jsx)("div",{className:d().topMenu,style:{backgroundColor:t},children:(0,n.jsx)("nav",{className:"container-row nav-top-links",children:(0,n.jsx)("ul",{className:d()["top-links-list"],children:[{text:"Ciudades donde entregamos",classnm:"gaia-shipping",target:"",id:"ga-topbar-ciudades",url:""},{text:"Tiendas",classnm:"gaia-shops",target:"",id:"ga-topbar-tiendas",url:"https://www.gaiadesign.com.mx/tiendas"},{text:"Design Services",classnm:"gaia-b2b",target:"",id:"ga-design-services",url:"https://www.gaiadesign.com.mx/designservices"},{text:"GAIA For Business",classnm:"gaia-b2b",target:"",id:"ga-topbar-business",url:"https://www.gaiadesign.com.mx/gaia-for-business"},{text:"FAQ / Ayuda",classnm:"gaia-faq",target:"",id:"ga-topbar-faq",url:"https://www.gaiadesign.com.mx/faq-contact-us"},{text:"Compra por tel\xe9fono: 55 4164 7640",classnm:"gaia-tv",target:"",id:"ga-topbar-telefono",url:"tel:5541647640"}].map((e,t)=>(0,n.jsxs)("li",{onMouseEnter:()=>mouseEnter(e.classnm),onMouseLeave:()=>mouseLeave(e.classnm),children:["gaia-shipping"!==e.classnm?(0,n.jsxs)("a",{href:e.url,id:e.id,onMouseEnter:()=>mouseEnter(e.classnm),className:[d().topanchorLink,d()["".concat(e.classnm)],e.classnm].join(" "),target:e.target,children:["gaia-shops"===e.classnm&&(0,n.jsx)("span",{children:(0,n.jsx)(u.Z,{fill:"#EF9C2B",strokeWidth:0,stroke:"",width:"20px",height:"20px"})}),e.text]}):(0,n.jsx)("span",{id:e.id,className:[d().topanchorLink,d()["".concat(e.classnm)],e.classnm].join(" "),onClick:showModalShipping,children:e.text}),"gaia-faq"===e.classnm&&(0,n.jsx)("div",{id:"drop-wrapper",onMouseEnter:()=>mouseEnter(e.classnm),onMouseLeave:()=>mouseLeave(e.classnm),className:[d()["faq-menu-wrapper"],d()[a?"is-open":""]].join(" "),children:(0,n.jsx)(faqMenu,{className:e.classnm,id:e.id})})]},t))})})})]})},f=a(99837),C=a.n(f),j=a(93365),w=a.n(j),N=a(17218),M=a(66036),I=a(50217),T=a.n(I);let ParentCategory=e=>{let{categories:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ul",{className:w().CategoriesList,children:t.categories&&(0,n.jsx)(n.Fragment,{children:t.categories.map((e,t)=>(0,n.jsx)("li",{className:w().CategoryItem,children:e.children?(0,n.jsxs)("div",{className:w().CategoryRow,children:[(0,n.jsx)("input",{type:"checkbox",id:e.name+"-parent",name:e.name+"-parent",className:w()["m-menu__checkbox"]}),0!==e.children.length?(0,n.jsxs)("label",{className:[w()["a-label__chevron"],w()["cat-parent"]].join(" "),htmlFor:e.name+"-parent",style:{color:e.titleColor?"".concat(e.titleColor):"black"},children:[e.icon&&(0,n.jsx)("div",{className:w().CategoryIco,children:(0,n.jsx)(M.ZP,{src:e.icon,width:20,height:20,alt:"icon",title:e.seoTrackingId})}),e.name]}):e.relativeUrl&&(0,n.jsx)("label",{className:w().singleCat,children:(0,n.jsx)("a",{href:(0,g.yd)(e),id:e.name.replace(/[^A-Z0-9]+/ig,""),style:{color:e.titleColor?"".concat(e.titleColor):"black"},children:e.name})}),(0,n.jsxs)("div",{className:w()["m-menu-subcategory"],children:[(0,n.jsxs)("a",{href:(0,g.yd)(e),className:w()["see-all"],children:["Ver todo en ",e.name]}),(0,n.jsx)(SubcategoriesChild,{subcategories:e.children,relativeUrl:e.relativeUrl})]})]},e.id):e.relativeUrl&&(0,n.jsx)("label",{className:w().singleCat,children:(0,n.jsx)("a",{href:(0,g.yd)(e),title:e.name,id:e.name,className:"".concat(T()["".concat(e.name.replace(/[^A-Z0-9]+/ig,""))]," singleCat"),children:e.name})})},t))})}),(0,n.jsx)("div",{className:w().ContactFooterMenu,children:(0,n.jsx)(Contact,{})})]})},SubcategoriesChild=e=>(0,n.jsx)("ul",{className:w().SubCategoriesList,children:e.subcategories&&(0,n.jsx)(n.Fragment,{children:e.subcategories.map((e,t)=>(0,n.jsx)("li",{className:w().SubCategoriesItem,children:e.children?(0,n.jsx)("div",{className:w().SubCategoriesSubItem,children:(0,n.jsxs)("div",{className:w()["m-menus"],children:[(0,n.jsx)("label",{className:w()["m-menu__toggle"],children:e.relativeUrl&&(0,n.jsxs)("a",{href:(0,g.yd)(e),className:w()["subcategory-text-".concat(e.nodeType)],children:[" ",e.name," "]})}),(0,n.jsx)("div",{className:w()["menu-node-".concat(e.nodeType)],children:(0,n.jsx)(SubcategoriesChild,{subcategories:e.children})})]})},t):e.relativeUrl&&(0,n.jsx)("a",{id:e.seocta,title:e.name,href:(0,g.yd)(e),children:e.name})},t))})}),Contact=e=>{var t;let[a,l]=(0,o.useState)(!1),showModalShipping=()=>{l(!0)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.ZP,{title:v.Z.DELIVERY_CITIES.MODAL_TITLE,content:(0,n.jsx)(y.Z,{}),show:a,handleClose:()=>{l(!1)},width:"",isFullScreen:!0,position:"bottom"}),(0,n.jsx)("ul",{children:null===(t=e.links)||void 0===t?void 0:t.map((e,t)=>(0,n.jsx)("li",{children:"event"!==e.type?(0,n.jsx)("a",{className:w()[e.class],href:e.src,children:e.label}):(0,n.jsx)("span",{className:w()[e.class],onClick:showModalShipping,children:e.label})},t))})]})};Contact.defaultProps={links:[{label:"Ciudades donde entregamos",src:"",type:"event",class:""},{label:"Tiendas",src:"https://www.gaiadesign.com.mx/tiendas",type:"link",class:"shop"},{label:"Gaia for business",src:"https://www.gaiadesign.com.mx/gaia-for-business",type:"link",class:""},{label:"F.A.Q/Ayuda",src:"https://www.gaiadesign.com.mx/faq-contact-us",type:"link",class:""},{label:"Compra por tel\xe9fono: 55 4164 7640",src:"tel:5541647640",type:"link",class:""}]},Contact.propTypes={links:s().array};var menuMobileV2=e=>{let t=(0,b.z$)(),[a,l]=(0,o.useState)(!1),[r,i]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=document.querySelector("body");return a?null==e||e.classList.add("overflow-y-hidden"):null==e||e.classList.remove("overflow-y-hidden"),()=>{e.classList.remove("overflow-y-hidden")}},[a]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{type:"checkbox",value:a,onChange:()=>l(!a),id:"menu",name:"menu",className:w()["m-menu__checkbox"]}),(0,n.jsx)("label",{id:"ga-hamburger-menu",className:w()["m-menu__toggle"],htmlFor:"menu",children:(0,n.jsx)(N.ZP,{toggled:r,toggle:e=>{i(e),t.track("app:hamburgerMenu_handlerClick",{toggled:e})},color:"#ffffff",size:19})}),(0,n.jsx)("div",{className:w()["m-menu"],children:(0,n.jsx)(ParentCategory,{categories:e})})]})},k=a(89493),S=a(24927),E=a(75640),A=a(93676),L=a.n(A),Z=a(65073),P=a.n(Z),login=e=>{let{email:t,password:a}=e,[l,r]=(0,o.useState)(""),[i,s]=(0,o.useState)(null),[c,d]=(0,o.useState)(""),[u,_]=(0,o.useState)(null);return(0,n.jsxs)("div",{className:P().login_Wrapper,children:[(0,n.jsx)("div",{className:P().loginPic,children:(0,n.jsx)("span",{className:P()["bg-pic"]})}),(0,n.jsxs)("div",{className:[["gaiaForm"],P().loginForm].join(" "),children:[(0,n.jsx)("h2",{children:v.Z.LOGIN_SIGNUP_FORM.MODAL_TITLE}),(0,n.jsxs)("form",{action:"",children:[(0,n.jsxs)("div",{className:"form_required form_field",children:[(0,n.jsx)("label",{className:[["form_label"],P()["loginModal_email-label"]].join(" "),children:v.Z.LOGIN_SIGNUP_FORM.LABEL_EMAIL}),(0,n.jsx)("input",{className:P()["loginModal_email-input"],type:"email",id:"user_mail",name:"user_mail",maxLength:"80",value:l,onChange:e=>{(0,g.vV)(e.target.value)?s(null):s(v.Z.LOGIN_SIGNUP_FORM.ERROR_MESSAGE_EMAIL),r(e.target.value)}}),(0,n.jsx)("span",{className:[["form_error_msg"],P()["loginModal_email-error"]].join(" "),children:i})]}),(0,n.jsxs)("div",{className:"form_required form_field",children:[(0,n.jsx)("label",{className:[["form_label"],P()["loginModal_password-labal_email-label"]].join(" "),children:v.Z.LOGIN_SIGNUP_FORM.LABEL_PASSWORD}),(0,n.jsx)("input",{className:P()["loginModal_password-input"],type:"password",id:"user_password",name:"user_password",maxLength:"80",value:c,onChange:e=>{(0,g.UE)(e.target.value)?_(null):_(v.Z.LOGIN_SIGNUP_FORM.ERROR_MESSAGE_PASSWORD),d(e.target.value)}}),(0,n.jsx)("span",{className:[["form_error_msg"],P()["loginModal_password-error"]].join(" "),children:u})]}),(0,n.jsx)(h.Z,{className:P()["login-btn"],text:v.Z.LOGIN_SIGNUP_FORM.BUTTON_LABEL,uppercase:!0,onClick:()=>{console.log("login function")},disabled:!l})]}),(0,n.jsxs)("div",{className:P().bottomForm,children:[(0,n.jsx)("p",{children:(0,n.jsx)("a",{className:P()["cta-hyperlink"],href:v.Z.LOGIN_SIGNUP_FORM.URL_FORGOT_PSS,children:v.Z.LOGIN_SIGNUP_FORM.BTN_FORGOT_PASSWORD})}),(0,n.jsxs)("p",{children:[(0,n.jsxs)("span",{children:[v.Z.LOGIN_SIGNUP_FORM.BTN_NEW_ACCOUNT_Q," "]}),(0,n.jsx)("a",{className:P()["cta-hyperlink"],href:v.Z.LOGIN_SIGNUP_FORM.URL_NEW_ACC,children:v.Z.LOGIN_SIGNUP_FORM.BTN_NEW_ACCOUNT_CTA})]})]})]})]})},gaia_GaiaIconUser=e=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:(0,n.jsx)("path",{d:"M16.456 12.851a7.194 7.194 0 0 0 2.469-3.629 7.159 7.159 0 0 0-.105-4.38 7.2 7.2 0 0 0-2.641-3.508 7.263 7.263 0 0 0-8.394 0 7.2 7.2 0 0 0-2.64 3.508 7.158 7.158 0 0 0-.106 4.38 7.194 7.194 0 0 0 2.47 3.63 12.052 12.052 0 0 0-5.115 3.873A11.956 11.956 0 0 0 .007 22.66a1.2 1.2 0 0 0 .26.887 1.215 1.215 0 0 0 2.152-.623 9.578 9.578 0 0 1 3.158-6.082 9.678 9.678 0 0 1 6.43-2.441c2.371 0 4.66.87 6.429 2.441a9.578 9.578 0 0 1 3.157 6.082c.033.295.174.567.397.764.223.198.511.306.81.304h.132c.316-.036.605-.195.804-.442.198-.248.291-.563.257-.877a11.957 11.957 0 0 0-2.399-5.951 12.053 12.053 0 0 0-5.138-3.872ZM11.982 12a4.843 4.843 0 0 1-2.68-.809 4.803 4.803 0 0 1-1.776-2.153A4.773 4.773 0 0 1 8.57 3.81a4.848 4.848 0 0 1 5.257-1.04 4.818 4.818 0 0 1 2.165 1.767 4.779 4.779 0 0 1-.6 6.058A4.837 4.837 0 0 1 11.983 12Z"})}),myAccountContain=()=>{let[e,t]=(0,o.useState)(),a=(0,b.z$)(),l=v.Z.MY_ACCOUNT_SLIDE.LABEL_MY_ACCOUNT,r=v.Z.MY_ACCOUNT_SLIDE.LABEL_LOGIN,i=v.Z.MY_ACCOUNT_SLIDE.LABEL_CREATE_ACCOUNT,s=v.Z.MY_ACCOUNT_SLIDE.LABEL_FAVORITES,c=v.Z.MY_ACCOUNT_SLIDE.LABEL_LOGOUT,d={loguedUser:[{linkPath:"/customer/account/",caption:l},{linkPath:"/wishlist/",caption:s},{linkPath:"/customer/account/logout/",caption:c}],guestUser:[{linkPath:"/customer/account/login",caption:r},{linkPath:"/customer/account/create/",caption:i}]},u=(0,S.q)(e=>e.isLoggedUser),_=u?d.loguedUser:d.guestUser,handleOptionLinkClick=(e,t)=>{a.track("app:myAccount_clickLink",{linkPath:e,caption:t})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.ZP,{className:"loginModalWrapper",content:(0,n.jsx)(login,{}),show:e,handleClose:()=>{t(!1)},width:"",isFullScreen:!1,position:"middle",isOverlay:!1}),(0,n.jsx)("div",{className:L()["my-account-slide-wrapper"],children:(0,n.jsx)(e=>{let{links:t}=e;return(0,n.jsx)("div",{className:L()["my-account-slide-wrapper_sign-buttons"],children:t.map(e=>{let{linkPath:t,caption:a}=e;return(0,n.jsx)("a",{onClick:()=>handleOptionLinkClick(t,a),href:t,children:a},t)})})},{links:_})})]})},gaia_GaiaIconCart=e=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:(0,n.jsx)("path",{d:"M22.765 16.774H5.991a1.198 1.198 0 1 1 0-2.396H18.5a3.594 3.594 0 0 0 3.486-2.72l1.977-7.776a1.197 1.197 0 0 0-.216-1.03 1.198 1.198 0 0 0-.982-.456H5.703A3.594 3.594 0 0 0 2.324 0H1.198a1.198 1.198 0 1 0 0 2.396h1.126a1.198 1.198 0 0 1 1.199.91l.071.576 2.073 8.1a3.598 3.598 0 1 0 .324 7.189h.215a3.594 3.594 0 1 0 6.758 0h2.828a3.596 3.596 0 0 0 5.038 4.415 3.593 3.593 0 0 0 1.72-4.415h.215a1.198 1.198 0 0 0 0-2.397ZM21.231 4.793l-1.57 6.278a1.198 1.198 0 0 1-1.197.91H8.124L6.326 4.794h14.905ZM9.585 21.567a1.198 1.198 0 1 1 0-2.396 1.198 1.198 0 0 1 0 2.396Zm9.586 0a1.198 1.198 0 1 1 0-2.396 1.198 1.198 0 0 1 0 2.396Z"})}),O=a(64680),D=a.n(O);function cx(){for(var e=arguments.length,t=Array(e),a=0;a{let{message:t,onClickOk:a}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h3",{className:q()["modal-cart-error-message-title"],children:v.Z.MODALS.MODAL_ERROR_TITLE}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:q()["modal-cart-error-message-body"],children:[(0,n.jsx)("div",{className:q()["modal-cart-error-message-message"],children:t}),(0,n.jsx)(h.Z,{uppercase:!0,variant:"primary_transactional",onClick:a,children:"Ok"})]})]})};var U=a(91296),H=a.n(U),F=a(5659),B=a(29585),V=a(57614),G=a(58685),z=a(26785),Y=a(2684),W=a(54942),Q=a(3),X=a(40336);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;tPromise.resolve().then(a.bind(a,311)),{loadableGenerated:{webpack:()=>[311]},ssr:!1}),ea=(0,X.zY)("search",!1,{query_by:"name,sku,categories.level1,categories.level2",include_fields:X.HO,prioritize_token_position:!0,max_candidates:100,filter_by:'(visibility:"Catalog" || visibility:"Catalog, Search")',facet_by:"categories.level2"}),el={...ea,search:e=>e.every(e=>{let{params:t}=e;return!t.query})?Promise.resolve({results:e.map(()=>({hits:[],nbHits:0,nbPages:0,page:0,processingTimeMS:0,hitsPerPage:0,exhaustiveNbHits:!1,query:"",params:""}))}):ea.search(e)},Autocomplete=e=>{var t,a;let{onSearchComplete:l=null,placeholder:r=v.Z.AUTOCOMPLETE.DEFAULT_PLACEHOLDER}=e,i=(0,b.z$)(),[s,c]=(0,o.useState)({}),[d,u]=(0,o.useState)(!1),[_,m]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1),[g,x]=(0,o.useState)([]),y=(0,o.useRef)(null),f=null==y?void 0:null===(t=y.current)||void 0===t?void 0:t.querySelector(".ais-SearchBox-input"),C=null==f?void 0:f.clientWidth,j=null!==(a=null==f?void 0:f.value)&&void 0!==a?a:"",w=H()(e=>{var t;let a=null!==(t=e[X.sc].query)&&void 0!==t?t:"",l=!!a||g.length>0;u(l),m(l),c(e)},400),submitHandler=async e=>{e.preventDefault();let t=e.target,a="";if("object"==typeof t&&null!==t){let e=Object.values(t).find(e=>"search"===e.type);e&&e.value&&(a=e.value)}if(""!==a){l&&l(a);let t={id:a,label:a};g.find(e=>e.id===t.id)||x([t,...g]),e.target.reset(),i.track("app:products_searched",{query:a}),window.location="/catalogsearch/result/".concat(prepareQueryTerm(a))}};(0,$.z)(_),(0,o.useEffect)(()=>{let e=JSON.parse(localStorage.getItem("recent-search"));null!==e&&e.length>0&&0===g.length?x(e):localStorage.setItem("recent-search",JSON.stringify(g))},[g]);let handleClick=e=>{""!==e&&i.track("app:products_searched",{query:e})},N=(()=>{var e,t;let a=null!==(t=null===(e=s[X.sc])||void 0===e?void 0:e.query)&&void 0!==t?t:"";return""!==a?{url:"/catalogsearch/result/".concat(prepareQueryTerm(a)),query:a}:null})();return(0,n.jsxs)("section",{className:D().autocomplete,children:[(0,n.jsx)("div",{className:D().overlay,style:_?{display:"block"}:{display:"none"}}),(0,n.jsx)("div",{className:_?D()["search-focused"]:D()["search-not-focused"],children:(0,n.jsxs)(F.p,{searchClient:el,indexName:X.sc,onStateChange:e=>{let{uiState:t,setUiState:a}=e;w(t,a)},future:{preserveSharedStateOnUnmount:!0},children:[(0,n.jsx)(B.R,{formRef:y,classNames:{root:D().MyCustomSearchBox,form:D().MyCustomSearchBoxForm,input:"ga-topbar-search ".concat(D().MyCustomSearchBoxInput),submit:D().MyCustomSearchBoxSubmit,submitIcon:D().MyCustomSearchBoxSubmitIcon,reset:D().MyCustomResetBox},autoCapitalize:"none",placeholder:r,translations:{submitButtonTitle:v.Z.AUTOCOMPLETE.SEARCH_SUBMIT_BUTTON,resetButtonTitle:v.Z.AUTOCOMPLETE.SEARCH_RESET_BUTTON},onFocus:()=>{m(!0),u(!0)},onBlur:()=>{setTimeout(()=>{m(!1),u(!1)},300)},onReset:()=>{setTimeout(()=>{let e=g.length>0;m(e),u(e)},500)},onSubmit:submitHandler}),d&&(0,n.jsx)(DropdownCard,{visible:d,children:""!==j?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:[D()["search-sidebar-container"],p?"flex":"hidden","search-sidebar-container"].join(" "),children:[(0,n.jsxs)("div",{className:D()["search-sidebar-container_suggest_wrapper"],children:[(0,n.jsx)("span",{className:D()["search-sidebar-container_suggest_wrapper_title"],children:v.Z.AUTOCOMPLETE.SUGGEST_SEARCH}),(0,n.jsx)(V.P,{children:(0,n.jsx)(CustomRefinementList,{attribute:"categories.level2",limit:5,classNames:{root:D().MyCustomHits,emptyRoot:D().MyCustomHitsEmpty,list:D().MyCustomHitsList,item:D().MyCustomHitsListItem}})})]}),g.length>0&&(0,n.jsx)("div",{className:D()["search-sidebar-container_recent-search"],children:(0,n.jsxs)("div",{className:D()["search-sidebar-container_recent-search_title"],children:[(0,n.jsx)("span",{children:v.Z.AUTOCOMPLETE.RECENT_SEARCH}),(0,n.jsx)(RecentSearch,{isRecentSearch:g})]})})]}),(0,n.jsx)(G.T,{hitsPerPage:8}),(0,n.jsx)("div",{className:[D()["search-results-container"],"search-results-container"].join(" "),children:(0,n.jsxs)("div",{className:[D()["search-results-container-items"],D()["search-results-container-items_".concat(p?"is-results":"no-results")]].join(" "),children:[(0,n.jsxs)("div",{className:D()["search-results-container-items_header"],style:p?{display:"flex"}:{display:"none"},children:[(0,n.jsxs)("span",{className:D()["search-results-container-items_header-suggested-products-title"],children:[v.Z.AUTOCOMPLETE.PRODUCTS," (",(0,n.jsx)(Stats,{}),")"]}),(0,n.jsx)("span",{className:D()["search-results-container-items_header-show-all-results"],children:(0,n.jsx)("div",{onClick:handleClick,children:null!==N&&(0,n.jsx)("a",{onClick:()=>handleClick(null==N?void 0:N.query),href:null==N?void 0:N.url,children:v.Z.AUTOCOMPLETE.SEE_ALL})})})]}),(0,n.jsx)(CustomHits,{setIsResults:h,isResults:p,searchState:s})]})})]}):(0,n.jsx)(n.Fragment,{children:g.length>0&&(0,n.jsx)("div",{className:"w-[1105px] max-w-full flex",style:{width:C},children:g.length>0&&(0,n.jsx)("div",{className:"w-full p-3",children:(0,n.jsxs)("div",{className:D()["search-sidebar-container_recent-search_title"],children:[(0,n.jsxs)("div",{className:"my-2 w-full flex flex-row",children:[(0,n.jsx)("span",{className:"uppercase",children:v.Z.AUTOCOMPLETE.RECENT_SEARCH}),(0,n.jsx)("button",{onClick:()=>{(0,ee.cl)("recent-search"),x([])},className:"!ml-auto p-2 underline",children:"Limpiar"})]}),(0,n.jsx)(RecentSearch,{isRecentSearch:g})]})})})})})]})})]})},DropdownCard=e=>{let{children:t,visible:a=!1}=e;return(0,n.jsx)("div",{className:[D()["dropdown-search"],a?D()["search-opened"]:D()["search-closed"]].join(" "),children:t})},RecentSearch=e=>{let{isRecentSearch:t}=e;if(t.length>0)return(0,n.jsx)("ol",{className:"recent-search-list",children:t.slice(0,8).map((e,t)=>(0,n.jsx)("li",{className:"recent-search-item",children:(0,n.jsxs)("div",{className:"recent-search-item-wrapper",children:[(0,n.jsx)(historyIcon,{fill:"#000000",strokeWidth:0,stroke:"",width:"12px",height:"12px",className:"min-h-[12px] min-w-[12px]"}),(0,n.jsx)("a",{className:"recent-search-item-link",href:"/catalogsearch/result/".concat(prepareQueryTerm(e.label)),children:e.label})]})},t))})},prepareQueryTerm=e=>encodeURIComponent(e=e.trim().replace(/\s+/g,"-")),HitCard=e=>{let{hit:t,index:a}=e,l=(0,g.$h)(t);return(0,n.jsx)("li",{className:D()["ais-Hits-item"],children:(0,n.jsx)(et,{variant:"product-search",image:t.image,imageHover:t.look_image,url:l,name:"".concat(t.name),imageWidth:200,imageHeight:500,imageAlt:t.name,stock:t.stock,isTagPromotion:!1,children:(0,n.jsx)(z.y,{attribute:"name",hit:t,classNames:{root:D().MyCustomHighlightRootList,highlighted:D().MyCustomHighlightList}})})},a)},CustomHits=e=>{var t,a;let{hits:l,results:r}=(0,Y.O)(e),{isResults:i,setIsResults:s,searchState:o}=e;return 0===l.length&&r.__isArtificial?null:l.length>0?(!i&&s&&s(!0),(0,n.jsx)("ol",{className:D()["ais-Hits-list"],children:l.map((e,t)=>(0,n.jsx)(HitCard,{hit:e,index:t},"hit-autocomplete-".concat(t)))})):(i&&s&&s(!1),(0,n.jsxs)("div",{className:D()["search-results-container-items_container-no-results"],children:[(0,n.jsx)("p",{className:D()["search-results-container-items_container-no-results_no-result-title"],children:v.Z.AUTOCOMPLETE.NO_RESULTS_TITLE}),(0,n.jsx)("p",{className:D()["search-results-container-items_container-no-results_no-result-query"],children:(0,n.jsx)("q",{className:"search-word",children:null!==(a=null===(t=o[X.sc])||void 0===t?void 0:t.query)&&void 0!==a?a:""})}),(0,n.jsx)("p",{className:D()["search-results-container-items_container-no-results_try-again"],children:v.Z.AUTOCOMPLETE.TRY_AGAIN})]}))},Stats=()=>{let{results:e}=(0,W.b)();return(0,n.jsx)(n.Fragment,{children:e.nbHits})},CustomRefinementList=e=>{let{items:t,hasExhaustiveItems:a,createURL:l,refine:r,sendEvent:i,searchForItems:s,isFromSearch:o,canRefine:c,canToggleShowMore:d,isShowingMore:u,toggleShowMore:_}=(0,Q.c)(e),removeAccents=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,""),m=[];return t.forEach(e=>{let t=e.label.split(" /// ");if("Muebles"!=t[0])return;let a=m,l=[];t.forEach((r,n)=>{let i=a.find(e=>r==e.label);l.push(removeAccents(r.toLowerCase())),i||(a.push({label:r,children:[]}),i=a[a.length-1],t.length-1==n?(i.count=e.count,l.pop(),i.url=l.join("/")+".html?sub="+e.label.replaceAll(" /// ","-")):i.url=l.join("/")+".html"),a=i.children})}),(0,n.jsx)(n.Fragment,{children:m.map((e,t)=>(0,n.jsx)("ul",{children:e.children.map((e,t)=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"/".concat(e.url),children:(0,n.jsx)("span",{children:e.label})}),(0,n.jsx)("ul",{children:e.children.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsxs)("a",{href:"/".concat(e.url),children:[(0,n.jsx)("span",{children:e.label}),(0,n.jsxs)("span",{children:["(",e.count,")"]})]})},"l2-".concat(t)))})]},"l1-".concat(t)))}))})};Autocomplete.propTypes={onSearchComplete:s().func};var er=a(60277),en=a(90512),components_header=e=>{let{hideMyAccountIcon:t,categoriesData:a}=e,l=(0,S.q)(e=>e.me),r=""!==l.cartId&&l.cartId?l.cartId:null,i=(0,b.z$)(),s=(0,S.q)(e=>e.cart);(0,S.q)(e=>e.getCart);let c=(0,S.q)(e=>e.showCartModal),d=(0,S.q)(e=>e.setCartErrorMessage),[u,_]=(0,o.useState)(!1),[m,p]=(0,o.useState)(!1),h=(0,S.q)(e=>e.setShowCartModal),[v,y]=(0,o.useState)(0),f=(0,S.q)(e=>e.cartErrorMessage),[j,w]=(0,o.useState)(!0);(0,o.useEffect)(()=>w(!1)),(0,o.useEffect)(()=>{if(p(c),c){var e,t;let a=Array.isArray(null==s?void 0:s.items)?s.items:[],l=null!==(t=null==s?void 0:null===(e=s.prices)||void 0===e?void 0:e.grand_total)&&void 0!==t?t:0;i.track("app:cartSummary_viewed",{cart_id:r,products:a.map((e,t)=>({product_id:e.product.sku,sku:e.product.sku,name:e.product.name,brand:g.R9.brand,price:e.product.gaia_prices.final_price,quantity:e.quantity,image_url:e.product.image.url,url:"".concat("https://www.gaiadesign.com.mx","/").concat(e.product.url_key).concat(e.product.url_suffix)})),extra:{total:l}})}},[c]),(0,o.useEffect)(()=>{var e;let t=null==s?void 0:null===(e=s.items)||void 0===e?void 0:e.reduce((e,t)=>e+t.quantity,0);y(t)},[s]),(0,o.useEffect)(()=>(window.addEventListener("scroll",isSticky),()=>{window.removeEventListener("scroll",isSticky)}));let isSticky=e=>{let t=document.querySelector("#dektop-nav"),a=window.scrollY;a>=180?t.classList.add("is-sticky"):t.classList.remove("is-sticky"),m?document.body.style.overflow="hidden":document.body.style.overflow=""},showDropdownMyAccount=()=>{_(!0),p(!1)},hideDropdownMyAccount=()=>{_(!1)},showDropdownFlyingCart=async()=>{p(!0),_(!1)},hideDropdownFlyingCart=()=>{p(!1),h(!1)},redirectCart=()=>{window.location.replace("/checkout/cart/")},handleMyAccountClick=()=>{showDropdownMyAccount()};return(0,n.jsxs)("div",{className:"h-header-m flex items-center w-full z-50",children:[(0,n.jsx)("div",{id:"dektop-nav",children:(0,n.jsxs)("div",{className:"container container-row mx-auto max-w-7xl flex flex-row items-center justify-between sm:hidden xs:hidden",children:[(0,n.jsx)("a",{href:"/","data-ga":"logo",className:"logo","aria-label":"gaia-logo-desktop",children:(0,n.jsx)(k.Z,{id:"ga-topbar-logo"})}),(0,n.jsx)("div",{className:C().searchbar,children:j?(0,n.jsx)(skeletonsearch,{}):(0,n.jsx)(Autocomplete,{})}),(0,n.jsxs)("div",{className:"cta-top-buttons flex-initial flex flex-row justify-evenly relative w-1/12 gap-x-5",children:[!t&&(0,n.jsx)("div",{className:C()["myaccount-menu-wrapper"],onClick:handleMyAccountClick,children:(0,n.jsx)(gaia_GaiaIconUser,{id:"ga-topbar-micuenta",fill:"white",width:20,height:20,className:"cursor-pointer ga-header-account-icon"})}),(0,n.jsx)(E.Z,{variant:"my-account",title:"Mi cuenta",show:u,handleClose:hideDropdownMyAccount,isOverlay:!0,children:(0,n.jsx)(myAccountContain,{})}),t?(0,n.jsxs)("div",{className:"relative",onClick:redirectCart,children:[(0,n.jsx)(gaia_GaiaIconCart,{fill:"white",width:20,height:20,className:"cursor-pointer ga-header-cart-icon"}),(0,n.jsx)("div",{className:C().cartBadge,children:(0,n.jsx)("span",{children:v})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"relative",onClick:showDropdownFlyingCart,children:[(0,n.jsx)(gaia_GaiaIconCart,{fill:"white",width:20,height:20,className:"cursor-pointer ga-header-cart-icon"}),(0,n.jsx)("div",{className:C().cartBadge,children:(0,n.jsx)("span",{className:(0,en.Z)({hidden:(null!=v?v:0)===0}),children:v})})]}),(0,n.jsx)(E.Z,{variant:"flying-cart",title:"Carrito",show:m,handleClose:hideDropdownFlyingCart,isOverlay:!0,idClose:"ga-floatingcart-cerrar",children:(0,n.jsx)(er.default,{flying:!0})})]})]})]})}),(0,n.jsxs)("div",{id:"mobile-nav",children:[(0,n.jsxs)("div",{className:C()["inner-menu-mobile"],children:[(0,n.jsx)("a",{"aria-label":"gaia-logo-mobile","data-ga":"logo",className:"".concat(C()["logo-menu-mobile"]," logo"),href:"/",children:(0,n.jsx)(k.Z,{id:"ga-topbar-logo-mobile"})}),(0,n.jsxs)("div",{className:C()["ctas-wrapper-mobile"],children:[!t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:C()["myaccount-menu-wrapper"],onClick:handleMyAccountClick,children:(0,n.jsx)(gaia_GaiaIconUser,{fill:"white",width:22,height:22,className:"cursor-pointer ga-header-account-icon"})}),(0,n.jsx)(E.Z,{variant:"my-account",title:"Mi cuenta",show:u,handleClose:hideDropdownMyAccount,isFullScreen:!0,children:(0,n.jsx)(myAccountContain,{})})]}),t?(0,n.jsxs)("div",{className:"relative mr-8 xs:mr-0",onClick:redirectCart,children:[(0,n.jsx)(gaia_GaiaIconCart,{fill:"white",width:22,height:22,className:"cursor-pointer ga-header-cart-icon"}),(0,n.jsx)("div",{className:C().cartBadge,children:(0,n.jsx)("span",{children:v})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"relative mr-8 xs:mr-0",onClick:showDropdownFlyingCart,children:[(0,n.jsx)(gaia_GaiaIconCart,{fill:"white",width:22,height:22,className:"cursor-pointer ga-header-cart-icon"}),(0,n.jsx)("div",{className:C().cartBadge,children:(0,n.jsx)("span",{children:v})})]}),(0,n.jsx)(E.Z,{variant:"flying-cart",title:"Carrito",show:m,handleClose:hideDropdownFlyingCart,isFullScreen:!0,children:(0,n.jsx)(er.default,{})})]}),!t&&(0,n.jsx)(menuMobileV2,{categories:a})]})]}),(0,n.jsx)("div",{className:"w-full mt-4",children:j?(0,n.jsx)(skeletonsearch,{}):(0,n.jsx)(Autocomplete,{})})]}),(0,n.jsx)(x.ZP,{show:null!==f,handleClose:()=>d(null),position:"middle",width:"420px",children:(0,n.jsx)(CartErrorMessageContent,{onClickOk:()=>d(null),message:f})})]})},ei=a(95815),es=a(93215),eo=a.n(es);let ec=o.forwardRef((e,t)=>{let{className:a,name:l,children:r,title:i,slug:s,icon:o,...c}=e;return(0,n.jsx)("div",{className:eo().NavigationSubMenuList,children:(0,n.jsx)(ei.rU,{asChild:!0,children:(0,n.jsx)("div",{className:eo().ListItemLink,...c,children:(0,n.jsx)("div",{className:eo().ListItemSubCatName,children:(0,n.jsx)("div",{className:eo().ListItemText,children:r})})})})})});ec.displayName="List Item";var subMenuV2=e=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(ei.fC,{className:"xs:hidden w-full ".concat(eo().NavigationMenuRoot," flex"),children:(0,n.jsx)("div",{className:"container container-row",children:(0,n.jsxs)(ei.aV,{className:[eo().NavigationMenuList,eo()["menu-items-wrapper"]].join(" "),children:[e.categories.map((e,t)=>(0,n.jsxs)(ei.ck,{className:eo().NavigationMenuItem,children:[(0,n.jsx)(ei.xz,{className:[eo().NavigationMenuTrigger,eo()["".concat(e.name.replace(/[^A-Z0-9]+/ig,""))]].join(" "),children:(0,n.jsx)("a",{href:(0,g.yd)(e),style:{color:e.titleColor?"".concat(e.titleColor):"black"},title:e.name,id:e.name.replace(/[^A-Z0-9]+/ig,""),children:e.name})}),0!==e.children.length&&(0,n.jsxs)(ei.VY,{className:[eo().NavigationMenuContent,eo()["".concat(e.name.replace(/\s/g,""))]].join(" "),style:{backgroundColor:e.bgColor?"".concat(e.bgColor):""},children:[(0,n.jsxs)("div",{className:eo().CategoryColumnMain,children:[(0,n.jsx)("div",{className:"".concat(eo().NavigationMenuListItems," ").concat(e.children.flatMap(e=>e.children).filter(e=>e.relativeUrl).length<7?eo().SimpleItemsList:""),children:e.children.flatMap(e=>e.children).filter(e=>e.relativeUrl).map((t,a)=>(0,n.jsx)(ec,{title:t.name,icon:t.icon,children:(0,n.jsx)("a",{href:(0,g.yd)(t),className:eo().SubCategoryMenu,style:{color:e.textColor?"".concat(e.textColor):""},children:t.name})},a))}),(0,n.jsxs)("a",{href:(0,g.yd)(e),className:eo().SubCategoryMenuAll,children:["Ver todo en ",(0,n.jsx)("span",{children:e.name})]})]}),(0,n.jsx)("div",{className:eo().CategoryColumnImage,name:"image",style:{backgroundImage:"url(".concat(e.image,")")}})]})]},t)),(0,n.jsx)(ei.z$,{className:eo().NavigationMenuIndicator,children:(0,n.jsx)("div",{className:eo().Arrow})})]})})})}),ed=JSON.parse('[{"id":36,"nodeType":"node","name":"Sof\xe1s","shortName":"Sof\xe1s","image":"https://directus.gaiadesign.com.mx/assets/537467a5-bb8e-458b-b122-102814f5a662","icon":"https://directus.gaiadesign.com.mx/assets/8e5821fa-dd53-4de5-a65b-2bf8828ebc81","seoTrackingId":"sofa","url":"muebles/sofas.html","relativeUrl":"muebles/sofas.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":0,"children":[]},{"id":47,"nodeType":"node","name":"Sillas","shortName":"Sillas","image":"https://directus.gaiadesign.com.mx/assets/e6a4d65f-ed37-433a-b686-2934fa0cdbff","icon":"https://directus.gaiadesign.com.mx/assets/f1ea19ad-1cf9-40e2-adee-3c1f30223af9","seoTrackingId":"","url":"muebles/sillas.html","relativeUrl":"muebles/sillas.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":3,"depth":0,"children":[{"id":21,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":2,"nodeType":"node","name":"Sillas de comedor","shortName":"Sillas de comedor","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/sillas-de-comedor.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Sillas_de_comedor","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":22,"nodeType":"node","name":"Bancos","shortName":"Bancos","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/bancos.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Bancos","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]},{"id":44,"nodeType":"node","name":"Sillas de oficina","shortName":"Sillas de oficina","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/sillas-de-oficina.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Sillas_de_oficina","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]},{"id":52,"nodeType":"node","name":"Sillas de exterior","shortName":"Sillas de exterior","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/sillas-de-exterior.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Sillas_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":3,"depth":2,"children":[]},{"id":67,"nodeType":"node","name":"Kids","shortName":"Kids","image":null,"icon":null,"seoTrackingId":"","url":"muebles/kids/mesas-y-sillas.html","relativeUrl":"muebles/kids.html?ava=true&sub=Sillas","titleColor":null,"textColor":null,"bgColor":null,"position":6,"depth":2,"children":[]},{"id":69,"nodeType":"node","name":"Sillas gamer","shortName":"Sillas gamer","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/sillas-gamer.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Sillas_gamer","titleColor":null,"textColor":null,"bgColor":null,"position":7,"depth":2,"children":[]}]},{"id":33,"nodeType":"group","name":"Sets","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"sets","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":1,"children":[{"id":4,"nodeType":"node","name":"Sets de sillas","shortName":"Sets de sillas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/sets-de-sillas.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Sets_de_sillas","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":24,"nodeType":"node","name":"Sets de bancos","shortName":"Sets de bancos","image":null,"icon":null,"seoTrackingId":"","url":"muebles/sillas/sets-de-bancos.html","relativeUrl":"muebles/sillas.html?ava=true&sub=Sets_de_bancos","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]}]}]},{"id":53,"nodeType":"node","name":"Mesas","shortName":"Mesas","image":"https://directus.gaiadesign.com.mx/assets/2f2fedb8-db42-4876-8176-24dff3615f48","icon":"https://directus.gaiadesign.com.mx/assets/220edaf2-bfd1-46e6-a5a3-9307955f76f6","seoTrackingId":"","url":"muebles/mesas.html","relativeUrl":"muebles/mesas.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":4,"depth":0,"children":[{"id":5,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":18,"nodeType":"node","name":"Mesas de comedor","shortName":"Mesas de comedor","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/mesas-de-comedor.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Mesas_de_comedor","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":45,"nodeType":"node","name":"Escritorios","shortName":"Escritorios","image":null,"icon":null,"seoTrackingId":"","url":"muebles/home-office/escritorios.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Escritorios","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]},{"id":50,"nodeType":"node","name":"Mesas de centro","shortName":"Mesas de centro","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/mesas-de-centro.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Mesas_de_centro","titleColor":null,"textColor":null,"bgColor":null,"position":3,"depth":2,"children":[]},{"id":57,"nodeType":"node","name":"Mesas laterales","shortName":"Mesas laterales","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/mesas-laterales.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Mesas_laterales","titleColor":null,"textColor":null,"bgColor":null,"position":4,"depth":2,"children":[]},{"id":63,"nodeType":"node","name":"Mesas de exterior","shortName":"Mesas de exterior","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/mesas-de-exterior.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Mesas_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":5,"depth":2,"children":[]},{"id":64,"nodeType":"node","name":"Kids","shortName":"Kids","image":null,"icon":null,"seoTrackingId":"","url":"muebles/kids/mesas-y-sillas.html","relativeUrl":"muebles/kids.html?ava=true&sub=Almacenar","titleColor":null,"textColor":null,"bgColor":null,"position":6,"depth":2,"children":[]}]},{"id":23,"nodeType":"group","name":"Sets","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"sets","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":1,"children":[{"id":19,"nodeType":"node","name":"Sets mesas auxiliares","shortName":"Sets mesas auxiliares","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/sets-mesas-auxiliares.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Sets_mesas_auxiliares","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":34,"nodeType":"node","name":"Set de comedor","shortName":"Set de comedor","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/set-de-comedor.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Set_de_comedor","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]}]}]},{"id":60,"nodeType":"node","name":"Almacenaje","shortName":"Almacenar","image":"https://directus.gaiadesign.com.mx/assets/1a0cfbbb-3c13-4cc1-a759-ee7810d9b8de","icon":"https://directus.gaiadesign.com.mx/assets/9d745c33-4b54-4ea6-9498-dfdacf38ce9b","seoTrackingId":"","url":"muebles/almacenar.html","relativeUrl":"muebles/almacenar.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":5,"depth":0,"children":[{"id":8,"nodeType":"group","name":"Rec\xe1mara","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"recamara","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":56,"nodeType":"node","name":"Armarios","shortName":"Armarios","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/armarios.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Armarios","titleColor":null,"textColor":null,"bgColor":null,"position":4,"depth":2,"children":[]},{"id":70,"nodeType":"node","name":"Zapateras","shortName":"Zapateras","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/zapateras.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Zapateras","titleColor":null,"textColor":null,"bgColor":null,"position":7,"depth":2,"children":[]}]},{"id":25,"nodeType":"group","name":"Sala","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"sala","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":1,"children":[{"id":9,"nodeType":"node","name":"Muebles para tv","shortName":"Muebles para tv","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/muebles-para-tv.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Muebles_para_tv","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":31,"nodeType":"node","name":"Libreros","shortName":"Libreros","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/libreros.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Libreros","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]},{"id":40,"nodeType":"node","name":"Repisas","shortName":"Repisas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/repisas.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Repisas","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]}]},{"id":41,"nodeType":"group","name":"Comedor","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"comedor","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":1,"children":[{"id":10,"nodeType":"node","name":"Credenzas y consolas","shortName":"Credenzas y consolas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/credenzas-y-consolas.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Repisas.Credenzas_y_consolas","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":26,"nodeType":"node","name":"Vitrinas y muebles de bar","shortName":"Vitrinas y muebles de bar","image":null,"icon":null,"seoTrackingId":"","url":"muebles/almacenar/vitrinas-y-muebles-de-bar.html","relativeUrl":"muebles/almacenar.html?ava=true&sub=Vitrinas_y_muebles_de_bar","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]}]}]},{"id":65,"nodeType":"node","name":"Camas","shortName":"Camas","image":"https://directus.gaiadesign.com.mx/assets/14f5779a-1493-4f88-a3fd-cf6cebf6543e","icon":"https://directus.gaiadesign.com.mx/assets/02d97b37-9b90-4a1d-ad55-5549e29d61af","seoTrackingId":"","url":"muebles/recamara/camas.html","relativeUrl":"muebles/recamara.html?ava=true&sub=Camas","titleColor":null,"textColor":null,"bgColor":null,"position":6,"depth":0,"children":[{"id":13,"nodeType":"group","name":"Por Tama\xf1o","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tamano","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":54,"nodeType":"node","name":"Kids","shortName":"Kids","image":null,"icon":null,"seoTrackingId":"","url":"muebles/kids/recamara.html","relativeUrl":"muebles/kids.html?ava=true&sub=Rec%25C3%25A1mara","titleColor":null,"textColor":null,"bgColor":null,"position":4,"depth":2,"children":[]}]},{"id":32,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":1,"children":[{"id":6,"nodeType":"node","name":"Bases de cama","shortName":"Bases de cama","image":null,"icon":null,"seoTrackingId":"","url":"muebles/recamara/bases-de-cama.html","relativeUrl":"muebles/recamara.html?ava=true&sub=Bases_de_cama","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":37,"nodeType":"node","name":"Cabeceras","shortName":"Cabeceras","image":null,"icon":null,"seoTrackingId":"","url":"muebles/recamara/cabeceras.html","relativeUrl":"muebles/recamara.html?ava=true&sub=Cabeceras","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]},{"id":49,"nodeType":"node","name":"Ropa de cama","shortName":"Ropa de cama","image":null,"icon":null,"seoTrackingId":"","url":"muebles/recamara/ropa-de-cama.html","relativeUrl":"muebles/recamara.html?ava=true&sub=Ropa_de_cama","titleColor":null,"textColor":null,"bgColor":null,"position":3,"depth":2,"children":[]},{"id":55,"nodeType":"node","name":"Camas","shortName":"Camas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/recamara/camas.html","relativeUrl":"muebles/recamara.html?ava=true&sub=Camas","titleColor":null,"textColor":null,"bgColor":null,"position":4,"depth":2,"children":[]},{"id":59,"nodeType":"node","name":"Colchones","shortName":"Colchones","image":null,"icon":null,"seoTrackingId":"","url":"muebles/colchones.html","relativeUrl":"muebles/colchones.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":5,"depth":2,"children":[]}]},{"id":39,"nodeType":"group","name":"Sets","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"sets","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":1,"children":[{"id":7,"nodeType":"node","name":"Set rec\xe1mara","shortName":"Set rec\xe1mara","image":null,"icon":null,"seoTrackingId":"","url":"muebles/recamara/set-recamara.html","relativeUrl":"muebles/recamara.html?ava=true&sub=Set_rec%25C3%25A1mara","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]}]}]},{"id":72,"nodeType":"node","name":"Jard\xedn y exterior","shortName":"Jard\xedn y exterior","image":"https://directus.gaiadesign.com.mx/assets/f0969964-3ddf-4148-93ce-cf2a247bd253","icon":"https://directus.gaiadesign.com.mx/assets/2c81f744-0cb0-4023-a2eb-f265f3a251b7","seoTrackingId":"","url":"muebles-de-exterior.html","relativeUrl":"muebles-de-exterior.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":8,"depth":0,"children":[{"id":1,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":3,"nodeType":"node","name":"Sillas de exterior","shortName":"Sillas de exterior","image":null,"icon":null,"seoTrackingId":"","url":"muebles-de-exterior/sillas-de-exterior.html","relativeUrl":"muebles-de-exterior.html?ava=true&sub=Sillas_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":35,"nodeType":"node","name":"Sets de exterior","shortName":"Sets de exterior","image":null,"icon":null,"seoTrackingId":"","url":"muebles-de-exterior/sets-de-exterior.html","relativeUrl":"muebles-de-exterior.html?ava=true&sub=Sets_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]},{"id":46,"nodeType":"node","name":"Sof\xe1s de exterior","shortName":"Sof\xe1s de exterior","image":null,"icon":null,"seoTrackingId":"","url":"muebles-de-exterior/sofas-de-exterior.html","relativeUrl":"muebles-de-exterior.html?ava=true&sub=Sof%25C3%25A1s_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]},{"id":51,"nodeType":"node","name":"Mesas de exterior","shortName":"Mesas de exterior","image":null,"icon":null,"seoTrackingId":"","url":"muebles-de-exterior/mesas-de-exterior.html","relativeUrl":"muebles-de-exterior.html?ava=true&sub=Mesas_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":3,"depth":2,"children":[]},{"id":58,"nodeType":"node","name":"Accesorios","shortName":"Accesorios","image":null,"icon":null,"seoTrackingId":"","url":"muebles-de-exterior/accesorios-de-exterior.html","relativeUrl":"muebles-de-exterior.html?ava=true&sub=Accesorios_de_exterior","titleColor":null,"textColor":null,"bgColor":null,"position":4,"depth":2,"children":[]}]}]},{"id":73,"nodeType":"node","name":"L\xe1mparas","shortName":"Iluminaci\xf3n","image":"https://directus.gaiadesign.com.mx/assets/0721e919-3892-494a-8b5f-4cde6f878862","icon":"https://directus.gaiadesign.com.mx/assets/4afafa6d-afdb-4875-bb7f-2e87ededf60d","seoTrackingId":"","url":"muebles/iluminacion.html","relativeUrl":"muebles/iluminacion.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":9,"depth":0,"children":[{"id":17,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":12,"nodeType":"node","name":"De mesa","shortName":"L\xe1mparas de mesa","image":null,"icon":null,"seoTrackingId":"","url":"muebles/iluminacion/lamparas-de-mesa.html","relativeUrl":"muebles/iluminacion.html?ava=true&sub=L%25C3%25A1mparas_de_mesa","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":27,"nodeType":"node","name":"De pie","shortName":"L\xe1mparas de pie","image":null,"icon":null,"seoTrackingId":"","url":"muebles/iluminacion/lamparas-de-pie.html","relativeUrl":"muebles/iluminacion.html?ava=true&sub=L%25C3%25A1mparas_de_pie","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]},{"id":42,"nodeType":"node","name":"De techo","shortName":"L\xe1mparas de techo","image":null,"icon":null,"seoTrackingId":"","url":"muebles/iluminacion/lamparas-de-techo.html","relativeUrl":"muebles/iluminacion.html?ava=true&sub=L%25C3%25A1mparas_de_techo","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]}]}]},{"id":74,"nodeType":"node","name":"Tapetes","shortName":"Tapetes","image":"https://directus.gaiadesign.com.mx/assets/b5e62939-35a9-48bd-911d-1be0730c7623","icon":"https://directus.gaiadesign.com.mx/assets/2aa6cc2f-8f91-4582-b690-90207e935a88","seoTrackingId":"","url":"muebles/accesorios/tapetes.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Tapetes","titleColor":null,"textColor":null,"bgColor":null,"position":10,"depth":0,"children":[]},{"id":75,"nodeType":"node","name":"Accesorios","shortName":"Accesorios","image":"https://directus.gaiadesign.com.mx/assets/9c27bdc0-9031-4367-89a0-7dd8b2e84fab","icon":"https://directus.gaiadesign.com.mx/assets/81982461-be9c-4cee-8e35-f4e1c23b7893","seoTrackingId":"","url":"muebles/accesorios.html","relativeUrl":"muebles/accesorios.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":11,"depth":0,"children":[{"id":15,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":14,"nodeType":"node","name":"Tapetes","shortName":"Tapetes","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/tapetes.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Tapetes","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":29,"nodeType":"node","name":"Espejos","shortName":"Espejos","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/espejos.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Espejos","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]},{"id":43,"nodeType":"node","name":"Cojines","shortName":"Cojines","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/cojines.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Cojines","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]},{"id":48,"nodeType":"node","name":"Macetas","shortName":"Macetas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/macetas.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Macetas","titleColor":null,"textColor":null,"bgColor":null,"position":3,"depth":2,"children":[]},{"id":61,"nodeType":"node","name":"Art\xedculos de decoraci\xf3n","shortName":"Art\xedculos de decoraci\xf3n","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/articulos-de-decoracion.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Art%25C3%25ADculos_de_decoraci%25C3%25B3n","titleColor":null,"textColor":null,"bgColor":null,"position":5,"depth":2,"children":[]},{"id":66,"nodeType":"node","name":"Cuadros","shortName":"Cuadros","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/cuadros.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Cuadros","titleColor":null,"textColor":null,"bgColor":null,"position":6,"depth":2,"children":[]},{"id":71,"nodeType":"node","name":"Almacenamiento","shortName":"Almacenamiento","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/almacenamiento.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Almacenamiento","titleColor":null,"textColor":null,"bgColor":null,"position":7,"depth":2,"children":[]}]},{"id":28,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":1,"children":[{"id":16,"nodeType":"node","name":"Mesa y cocina","shortName":"Mesa y cocina","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/mesa-y-cocina.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Mesa_y_cocina","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]},{"id":30,"nodeType":"node","name":"Velas y portavelas","shortName":"Velas y portavelas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/velas-y-portavelas.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Velas_y_portavelas","titleColor":null,"textColor":null,"bgColor":null,"position":1,"depth":2,"children":[]},{"id":38,"nodeType":"node","name":"Ropa de cama","shortName":"Ropa de cama","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/ropa-de-cama.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Ropa_de_cama","titleColor":null,"textColor":null,"bgColor":null,"position":2,"depth":2,"children":[]},{"id":62,"nodeType":"node","name":"Cuberter\xeda","shortName":"Cuberter\xeda","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/cuberteria.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Cuberter%25C3%25ADa","titleColor":null,"textColor":null,"bgColor":null,"position":5,"depth":2,"children":[]},{"id":68,"nodeType":"node","name":"Vajillas","shortName":"Vajillas","image":null,"icon":null,"seoTrackingId":"","url":"muebles/accesorios/vajillas.html","relativeUrl":"muebles/accesorios.html?ava=true&sub=Vajillas","titleColor":null,"textColor":null,"bgColor":null,"position":6,"depth":2,"children":[]}]}]},{"id":76,"nodeType":"node","name":"Home office","shortName":"Home office","image":"https://directus.gaiadesign.com.mx/assets/f1a45915-90d6-4a7a-8059-8958459b0cfe","icon":"https://directus.gaiadesign.com.mx/assets/ddb9f898-cf39-4c55-8efc-c24f11de1be0","seoTrackingId":"","url":"ambientes/oficina.html","relativeUrl":"ambientes/oficina.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":13,"depth":0,"children":[{"id":11,"nodeType":"group","name":"Por Tipo","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"","relativeUrl":"por-tipo","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":1,"children":[{"id":20,"nodeType":"node","name":"Set home office","shortName":"Set home office","image":null,"icon":null,"seoTrackingId":"","url":"muebles/mesas/set-home-office.html","relativeUrl":"muebles/mesas.html?ava=true&sub=Set_home_office","titleColor":null,"textColor":null,"bgColor":null,"position":0,"depth":2,"children":[]}]}]},{"id":77,"nodeType":"node","name":"Kids","shortName":"Kids","image":null,"icon":null,"seoTrackingId":"GAIA Kids","url":"muebles/kids.html","relativeUrl":"muebles/kids.html?ava=true","titleColor":null,"textColor":null,"bgColor":null,"position":14,"depth":0,"children":[]},{"id":78,"nodeType":"node","name":"\uD83E\uDDE8 Outlet hasta 70% OFF","shortName":"","image":null,"icon":null,"seoTrackingId":"","url":"outlet-hasta-70-off.html","relativeUrl":"outlet-hasta-70-off.html?ava=true","titleColor":"#ea5b2fff","textColor":"#ea5b2fff","bgColor":null,"position":19,"depth":0,"children":[]}]'),eu=a(99042),e_=a.n(eu),em=a(11039),ep=a(44136),eh=a.n(ep);let DateCountDown=e=>{let{deadline:t,onFinish:a,className:l,color:r=null}=e,i=Date.parse(t)-Date.parse(new Date),[s,c]=(0,o.useState)({days:0,hours:0,minutes:0,seconds:0}),getTimeUntil=()=>{i<0?(c({days:0,hours:0,minutes:0,seconds:0}),a&&a()):c({days:Math.floor(i/864e5),hours:Math.floor(i/36e5%24),minutes:Math.floor(i/1e3/60%60),seconds:Math.floor(i/1e3%60)})},ndate=e=>e<10?"0"+e:e;(0,o.useEffect)(()=>{let e=setInterval(getTimeUntil,1e3);return()=>{clearInterval(e)}},[s]);let d=[l,eh().datecountDown],u=r?{color:r}:{};return(0,n.jsxs)("div",{className:d.join(" "),children:[(0,n.jsxs)("div",{className:eh()["t-days"],style:u,children:[ndate(s.days)," d"]}),(0,n.jsxs)("div",{className:eh()["t-hours"],style:u,children:[ndate(s.hours)," h"]}),(0,n.jsxs)("div",{className:eh()["t-minutes"],style:u,children:[ndate(s.minutes)," m"]}),(0,n.jsxs)("div",{className:eh()["t-seconds"],style:u,children:[ndate(s.seconds)," s"]})]})};DateCountDown.propTypes={onFinish:s().func};let CarouselText=e=>{let{bannerItems:t,url:a,title:l}=e,r=(null!=t?t:[]).filter(e=>"published"===e.status),[i,s]=(0,o.useState)(0),[c,d]=(0,o.useState)(!1);(0,o.useEffect)(()=>{d(!1)},[r]);let u=(0,b.z$)(),clickTopBannerItem=(e,t)=>{u.track("app:homeTopBanner_click",{name:t,bannerLink:e}),window.location.href=e};return(0,n.jsx)("div",{className:e_().carouselWrapper,children:(0,n.jsxs)("div",{className:e_().itemsCarousel,children:[(0,n.jsx)("button",{className:e_().prev,onClick:()=>{s(0===i?r.length-1:i-1)},"aria-label":"caret-right",children:(0,n.jsx)(em.Z,{className:"carousel-text-prev","data-ga":"carousel-text-prev",fill:"#fff",strokeWidth:0,stroke:""})}),r.map((e,t)=>{var a,l;return(0,n.jsx)("div",{onClick:()=>clickTopBannerItem(e.campaign_url,e.campaign_banner_title),url:e.campaign_url,title:e.campaign_banner_title,className:[e_().itemCarousel,e_()["".concat(t===i?"active":"")]].join(" "),style:{backgroundColor:e.campaign_bg_color},children:(0,n.jsxs)("div",{className:e_().carouselCountDownWrapper,children:[!e.countdown_item&&(0,n.jsxs)(n.Fragment,{children:[e.campaign_url&&(0,n.jsx)("span",{className:e_().carouselAnchor,style:{color:e.campaign_txt_color},dangerouslySetInnerHTML:{__html:(0,g.n8)(e.campaign_txt)}}),!e.campaign_url&&(0,n.jsx)("span",{className:e_().carouselAnchor,style:{color:e.campaign_txt_color},dangerouslySetInnerHTML:{__html:(0,g.n8)(e.campaign_txt)}})]}),e.countdown_item&&(0,n.jsxs)(n.Fragment,{children:[!c&&e.countdown_item&&(0,n.jsxs)("div",{className:[e_().carouselCountDown,e_().topbarCountdown].join(" "),children:[!!e.count_down_initial_text&&(0,n.jsx)("span",{className:e_().carouselAnchor,style:{width:"auto",color:e.campaign_txt_color},dangerouslySetInnerHTML:{__html:(0,g.n8)(null!==(a=e.count_down_initial_text)&&void 0!==a?a:"")}}),(0,n.jsx)(DateCountDown,{className:e_().topbarCountdown,deadline:e.date_target,onFinish:()=>d(!0),color:e.campaign_txt_color}),!!e.count_down_ending_text&&(0,n.jsx)("span",{className:e_().carouselAnchor,style:{width:"auto",color:e.campaign_txt_color},dangerouslySetInnerHTML:{__html:(0,g.n8)(null!==(l=e.count_down_ending_text)&&void 0!==l?l:"")}})]}),c&&(0,n.jsx)("div",{className:e_().carouselCountDownEnd,dangerouslySetInnerHTML:{__html:(0,g.n8)(e.date_finished_text)}})]})]})},t)}),(0,n.jsx)("button",{className:e_().next,onClick:()=>{s(i===r.length-1?0:i+1)},"aria-label":"caret-left",children:(0,n.jsx)(em.Z,{className:"carousel-text-next","data-ga":"carousel-text-next",fill:"#fff",strokeWidth:0,stroke:""})})]})})};CarouselText.propTypes={id:s().string,title:s().string,url:s().string};var eg=a(47041),ev=a(53416);let ex="headless_insider_guest_userid",getUserData=function(e){var t,a,l,r,n,i,s;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=getNewsletterCookieData(),d=(null!==(t=null==e?void 0:e.phone_number)&&void 0!==t?t:"").replace(/\s/g,"");return{has_transacted:null!==(a=null==e?void 0:e.has_transacted)&&void 0!==a?a:"",transaction_count:null!==(l=null==e?void 0:e.transaction_count)&&void 0!==l?l:"",gdpr_optin:!0,name:null!==(r=(null==e?void 0:e.name)||(null==c?void 0:c.name))&&void 0!==r?r:"",surname:null!==(n=null==e?void 0:e.surname)&&void 0!==n?n:"",username:null!==(i=null==e?void 0:e.username)&&void 0!==i?i:"",email:null!==(s=(null==e?void 0:e.email)||(null==c?void 0:c.email))&&void 0!==s?s:"",email_optin:!0,phone_number:d.length>0?"+521".concat(d):"",sms_optin:!0,whatsapp_optin:!0,language:"es-mx",returning:!0,list_id:null,custom:{quote_id:o?"/abandoned/cart/recover/id/".concat(o,"/?___store=default"):null}}},getNewsletterCookieData=()=>{var e,t;return{email:null!==(e=(0,eg.getCookie)("newsletter_customer_email"))&&void 0!==e?e:null,name:null!==(t=(0,eg.getCookie)("newsletter_customer_name"))&&void 0!==t?t:null}},getTemporalUserId=e=>{if((null!=e?e:"").length>0)return e;let t=(0,eg.getCookie)(ex);return t||(t=(0,ev.x0)(),(0,eg.setCookie)(ex,t,{maxAge:8640})),t};var ey=JSON.parse('[{"id":1,"status":"published","user_created":"c4b2e1a8-9513-4483-b900-1c3d78ef46d0","date_created":"2024-12-06T23:55:22.000Z","user_updated":"9bfa8a8e-8515-43ee-b911-7542b9a927cc","date_updated":"2025-02-04T18:42:25.000Z","campaign_banner_title":"\uD83D\uDCA5\uD83D\uDECB️Aprovecha env\xedo gratis a partir de $8,000","campaign_txt":"\uD83D\uDCA5\uD83D\uDECB️Aprovecha env\xedo gratis a partir de $8,000","campaign_url":"https://www.gaiadesign.com.mx/elmatchperfecto-2025.html","campaign_txt_color":"#000000ff","campaign_bg_color":"#f0be43ff","countdown_item":false,"date_target":null,"count_down_initial_text":"","count_down_ending_text":"","date_finished_text":"","datocms":{"id":"DRIDkJm5RiiA-getMwCzWA","meta":{"stage":null,"status":"published","is_valid":true,"created_at":"2024-12-04T13:06:12.724-06:00","updated_at":"2024-12-04T13:06:12.730-06:00","published_at":"2024-12-04T13:06:14.419-06:00","current_version":"ejdWyTCBQPumXEgnxC0WHg","first_published_at":"2024-12-04T13:06:14.419-06:00","is_current_version_valid":true,"publication_scheduled_at":null,"unpublishing_scheduled_at":null,"is_published_version_valid":true},"type":"item","creator":{"id":"41615","type":"user"},"position":9,"item_type":{"id":"c8OGabUnR5i1tlIGVquKow","type":"item_type"},"date_target":null,"campaign_txt":"\uD83D\uDCA5\uD83D\uDECB️Aprovecha env\xedo gratis a partir de $8,000","campaign_url":"https://www.gaiadesign.com.mx/piezas-unicas.html?ava=true","countdown_item":false,"campaign_bg_color":{"red":240,"blue":67,"alpha":255,"green":190},"campaign_txt_color":{"red":0,"blue":0,"alpha":255,"green":0},"date_finished_text":"","campaign_banner_title":"\uD83D\uDCA5\uD83D\uDECB️Aprovecha env\xedo gratis a partir de $8,000","count_down_ending_text":"","count_down_initial_text":""},"datocms_id":"DRIDkJm5RiiA-getMwCzWA"},{"id":2,"status":"draft","user_created":"9bfa8a8e-8515-43ee-b911-7542b9a927cc","date_created":"2025-01-07T18:35:41.000Z","user_updated":"9bfa8a8e-8515-43ee-b911-7542b9a927cc","date_updated":"2025-01-11T08:34:12.000Z","campaign_banner_title":"10% Mercado Pago","campaign_txt":" ","campaign_url":"https://www.gaiadesign.com.mx/casa-nueva-2025.html","campaign_txt_color":"#FFFFFF","campaign_bg_color":"#000000","countdown_item":true,"date_target":"2025-01-10T23:59:00","count_down_initial_text":"\uD83C\uDFF7️ \uD83D\uDCE2 Consigue 10% de descuento adicional al pagar con Mercado Pago con el cup\xf3n [coupon]REBAJASMP[/coupon]","count_down_ending_text":null,"date_finished_text":" ","datocms":null,"datocms_id":null},{"id":3,"status":"draft","user_created":"9bfa8a8e-8515-43ee-b911-7542b9a927cc","date_created":"2025-01-14T16:33:23.000Z","user_updated":"9bfa8a8e-8515-43ee-b911-7542b9a927cc","date_updated":"2025-02-04T18:33:53.000Z","campaign_banner_title":"\uD83D\uDD25\uD83D\uDECB️ Aprovecha 5% OFF adicional y env\xedo gratis en compras a partir de $8,000 con el cup\xf3n HOMETIME5","campaign_txt":"\uD83D\uDD25\uD83D\uDECB️ Aprovecha 5% OFF adicional y env\xedo gratis en compras a partir de $8,000 con el cup\xf3n [coupon] HOMETIME5[/coupon]","campaign_url":"https://www.gaiadesign.com.mx/hometime-rebajas-invierno-2025.html","campaign_txt_color":"#FFFFFF","campaign_bg_color":"#000000","countdown_item":false,"date_target":null,"count_down_initial_text":null,"count_down_ending_text":null,"date_finished_text":" ","datocms":null,"datocms_id":null}]'),eb=a(55246),ef=a(44317),eC=a(56386),ej=a(83454);let ew=J()(()=>a.e(1849).then(a.bind(a,21849)),{loadableGenerated:{webpack:()=>[21849]},ssr:!1}),eN=J()(()=>a.e(9562).then(a.bind(a,39562)),{loadableGenerated:{webpack:()=>[39562]},ssr:!1}),eM=J()(()=>a.e(7260).then(a.bind(a,87260)),{loadableGenerated:{webpack:()=>[87260]},ssr:!1}),Wrapper=e=>{let{children:t,className:a,hTopLinks:l,hTopBanner:r,hFooter:i,hHeader:s=!1,hSubMenu:c,hMyAccountIcon:d,fullWidth:u=!1,showKustomerChat:_=!1,showGorgiasChat:m=!0}=e,p=(0,S.q)(e=>e.me),h=""!==p.cartId&&p.cartId?p.cartId:null,v=""!==p.session&&p.session?p.session:null,{userId:x,user:y}=function(){let[e,t]=(0,o.useState)([null,null]),a=(0,S.q)(e=>e.me),l=(0,S.q)(e=>e.userDataLoaded),getDatalayerUser=()=>{var e,t;if(a){let t=(0,g.i4)(null==a?void 0:a.datalayerUser,null);if(null!==t&&!Array.isArray(t)){(0,eg.deleteCookie)(ex);let l=getTemporalUserId(null==t?void 0:t.email);return[l,getUserData(t,null!==(e=null==a?void 0:a.quoteId)&&void 0!==e?e:null)]}}return[getTemporalUserId(),getUserData({},null!==(t=null==a?void 0:a.quoteId)&&void 0!==t?t:null)]};(0,o.useEffect)(()=>{if(l&&null===e[1]){var a;console.log("User data loaded");let e=getDatalayerUser();t(e),void 0!==window.newrelic&&"function"==typeof(null===(a=window.newrelic)||void 0===a?void 0:a.setUserId)&&window.newrelic.setUserId(e[0])}},[l]);let[r,n]=e;return console.log("UID",r),{userId:r,user:n}}(),f=(0,b.z$)();return(0,o.useEffect)(()=>{if(x){var e;eC.Z.log("User Data From Magento, and analytics before send",y,x,f.user());let t=null!==(e=f.user("anonymousId"))&&void 0!==e?e:x;eC.Z.debug("[ANALYTICS] - Original Anonymous ID",t),f.identify(t,y,{plugins:{all:!1,insider:!0,logger:!0}})}},[y]),(0,n.jsxs)("main",{id:"main",className:"h-main-m",children:[(0,n.jsx)(ef.Z,{cartId:h,sessionId:v,children:(0,n.jsxs)(eb.Z,{children:[(0,n.jsxs)("header",{className:"container-fluid",children:[!l&&(0,n.jsx)(topLinks,{bgColor:"#ffffff"}),!s&&(0,n.jsx)(components_header,{hideMyAccountIcon:d,categoriesData:ed}),!c&&(0,n.jsx)(subMenuV2,{categories:ed}),!r&&(0,n.jsx)(CarouselText,{bannerItems:ey})]}),_&&(0,n.jsx)(eN,{}),m&&(0,n.jsx)(eM,{}),(0,n.jsx)("div",{className:"container-fluid",children:(0,n.jsx)("section",{className:[u?"w-full":"container-row",a].join(" "),children:(0,n.jsx)("div",{className:"inner-col-wrapper",children:t})})}),(0,n.jsx)("div",{className:"container-fluid",children:!i&&(0,n.jsx)(ew,{})}),(0,n.jsx)("span",{className:"hidden",id:"version",children:ej.env.NEXT_PUBLIC_DEPLOYED_VERSION})]})}),(0,n.jsx)("section",{id:"global-messages",className:"relative z-[1000]"}),(0,n.jsx)("section",{id:"global-modals",className:"relative z-[2000]"}),(0,n.jsx)("section",{id:"global-loaders",className:"relative z-[3000]"})]})};Wrapper.propTypes={hHeader:s().bool,hTop:s().bool,hSubMenu:s().bool,hFooter:s().bool,children:s().any};var eI=Wrapper},55246:function(e,t,a){"use strict";a.d(t,{Z:function(){return magento_order_container}});var l=a(85893),r=a(97607),n=a(24927),i=a(67294),s=a(68376),use_magento=()=>{let e=(0,i.useContext)(s.Z);return(0,i.useEffect)(()=>{},[e]),e},o=a(54312),c=a(16271),d=a(46313),u=a(56386),_=a(76958),m=a(66934);let p={has_cashback:!1,additional_services:[],isArmed:!1};var magento_order_container=e=>{let{children:t}=e,a=use_magento();(0,n.q)(e=>e.setSession);let s=(0,n.q)(e=>e.setForceMeReload),h=(0,n.q)(e=>e.cartVersion),g=(0,n.q)(e=>e.quote),v=(0,n.q)(e=>e.customer),x=(0,n.q)(e=>e.setQuote);(0,n.q)(e=>e.setCustomer);let y=(0,n.q)(e=>e.setData),b=(0,n.q)(e=>e.isLoggedUser),f=(0,n.q)(e=>e.userDataLoaded),C=(0,n.q)(e=>e.cartInitialized),j=(0,n.q)(e=>e.getMe);(0,n.q)(e=>e.getCart);let[w,N]=(0,i.useState)(r.n),M=(0,i.useRef)(0),[I,T]=(0,i.useState)(!1),[k,S]=(0,i.useState)(0),[E,A]=(0,i.useState)(!1),[L,Z]=(0,i.useState)(!1),[P,O]=(0,i.useState)([]),[D,R]=(0,i.useState)({postcode:null,amount:null});null==g||g.selected_payment_method;let q=Array.isArray(null==g?void 0:g.shipping_addresses)&&(null==g?void 0:g.shipping_addresses.length)>0?null==g?void 0:g.shipping_addresses[0]:null;null==q||q.selected_shipping_method;let blockPage=()=>{S(e=>{let t=e+1;return console.log("BLOCKING PAGE - Stack",t),t})},unblockPage=()=>{S(e=>{let t=Math.max(0,e-1);return console.log("UN BLOCKING PAGE - Stack:",t),t})};(0,i.useEffect)(()=>{k>0?(console.log("NEXT Loading State:",!0),T(!0)):(console.log("NEXT Loading State:",!1),T(!1))},[k]),(0,i.useEffect)(()=>{M.current=M.current+1,console.log("[MagentoOrderContainer] - re-render (".concat(M.current,")"))},[]),(0,i.useEffect)(()=>{console.log("User Data Loaded:",U,b)},[f,b]);let U=f,H=!b,quoteLogin=async function(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(U&&H){let l=await o.MC(e,t,a);return await new Promise(e=>setTimeout(e,150)),await j(!0),l}return null},getCustomerData=async()=>a.sessionId?await o.ck():null,setGuestEmail=async e=>{if(!a.cartId)return null;let t=await o.R6(a.cartId,e);return null!==t&&x(t),t},requestPasswordReset=async e=>b?null:await o.f8(e),refreshData=async()=>{if(!a.cartId)return null;try{if(blockPage(),b){let e=await o.Pd(a.cartId);return y(e.cart,e.customer),e}let e=await o.lP(a.cartId);return null!==e&&x(e),{customer:null,cart:e}}catch(e){return null}finally{unblockPage()}},refreshQuote=async()=>(await refreshData()).cart,setShippingAddressById=async e=>{if(!a.cartId)return null;let t=await o.BY(a.cartId,e);return null!==t&&x(t),t},createCustomerAddress=async e=>{if(!a.cartId)return null;let t=await o.T0(e);return null!==t&&await refreshData(),t},setShippingAddressByData=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!a.cartId)return null;let l=await o.qg(a.cartId,e,t);return null!==l&&x(l),l},updateAddress=async(e,t)=>{if(!a.sessionId)return null;let l=await o.y3(e,t);return await refreshData(),l},setShippingMethod=async(e,t)=>{if(!a.cartId)return null;let l=await o.qb(a.cartId,e,t);return null!==l&&x(l),l},placeOrder=async function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(!a.cartId)return null;let t=await o.s1(a.cartId);return null!==t&&((0,m.D$)("headless_last_order",{order:t,quote:g}),e&&(A(!0),x(null)),s(!0)),t},addToCart=async function(e,t){var l;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;if(!a.cartId)return null;let n={data:{sku:e,quantity:t,has_cashback:r.has_cashback,additional_services:_.fl(null!==(l=r.additional_services)&&void 0!==l?l:[]),is_armed:r.isArmed}},i=await o.Xq(a.cartId,[n]);return null!==i&&x(i),i},updateItemCart=async function(e,t){var l;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;if(!a.cartId)return null;let n={cart_item_id:e,quantity:t,has_cashback:r.has_cashback,additional_services:_.fl(null!==(l=r.additional_services)&&void 0!==l?l:[]),is_armed:r.isArmed},i=await o.V8(a.cartId,[n]);return null!==i&&x(i),i},removeFromCart=async e=>a.cartId?await updateItemCart(e,0):null,applyCoupon=async e=>{if(!a.cartId)return null;let t=await o.zL(a.cartId,e);return null!==t&&x(t),t},removeCoupon=async()=>{if(!a.cartId)return null;let e=await o.SS(a.cartId);return null!==e&&x(e),e},setStripePaymentMethod=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!a.cartId)return null;let l={cart_id:a.cartId,payment_method:{code:"stripe_payments",stripe_payments:{cc_save:!1,cc_stripejs_token:e,selected_plan:t}}},r=await o.$P(l);return null!==r&&x(r),r},getStripeInstallments=async e=>a.cartId?await o.Qt(e):null,setStripeMonthsFee=async e=>{if(!a.cartId)return null;let t=await o.Rq(e);return await refreshData(),t},unsetStripeMonthsFee=async()=>{if(!a.cartId)return null;let e=await o.qR();return await refreshData(),e},setConektaPaymentMethod=async e=>{if(!a.cartId)return null;let t={cart_id:a.cartId,payment_method:{code:"SPEI"===e?"conekta_spei":"conekta_oxxo"}},l=await o.$P(t);return null!==l&&x(l),l},setConektaSpeiPaymentMethod=async()=>await setConektaPaymentMethod("SPEI"),setConektaOxxoPaymentMethod=async()=>await setConektaPaymentMethod("OXXO"),setConektaCreditCardPaymentMethod=async e=>{if(!a.cartId)return null;let t={cart_id:a.cartId,payment_method:{code:"conekta_cc",conekta_cc:e}},l=await o.$P(t);return null!==l&&x(l),l},setMercadoPagoPaymentMethod=async()=>{if(!a.cartId)return null;let e={cart_id:a.cartId,payment_method:{code:"mercadopago_adbpayment_checkout_pro"}},t=await o.$P(e);return null!==t&&x(t),t},getMercadoPagoPreference=async e=>{try{let t=await o.m5(e);if(Array.isArray(t)&&t.length>0)return t[0]}catch(e){console.error(e)}return null},setPaypalPaymentMethod=async(e,t)=>{if(!a.cartId)return null;let l={cart_id:a.cartId,payment_method:{code:"paypal_express",paypal_express:{payer_id:e,token:t}}},r=await o.$P(l);return null!==r&&x(r),r},createPaypalExpressToken=async()=>a.cartId?await o._R({cart_id:a.cartId,code:"paypal_express",express_button:!1,urls:{return_url:"paypal/action/return.html",cancel_url:"paypal/action/cancel.html"}}):null,applyStoreCredit=async e=>{var t;if(!a.cartId)return null;let l=e?Math.floor(null!==(t=null==v?void 0:v.store_credit)&&void 0!==t?t:0):0,r={cart_id:a.cartId,amount:l},n=await o.TU(r);return null!==n&&x(n),n},setFreePaymentMethod=async()=>{if(!a.cartId)return null;let e=await o.$P({cart_id:a.cartId,payment_method:{code:"free"}});return null!==e&&x(e),e},estimateShippingMethods=async e=>{if(!a.cartId)return null;let t=a.cartId,l=await o.vI(t,e,b);if(Array.isArray(l)){var r,n,i,s,d;let[t]=l,a=null!==(i=null==t?void 0:null===(r=t.extension_attributes)||void 0===r?void 0:r.unavailable_products)&&void 0!==i?i:null,o=null!==(s=null==t?void 0:null===(n=t.extension_attributes)||void 0===n?void 0:n.delivery_days_quote_items)&&void 0!==s?s:[];return O(o),R({postcode:null!=e?e:null,amount:null!==(d=null==t?void 0:t.amount)&&void 0!==d?d:null}),"string"==typeof a&&(t.extension_attributes.unavailable_products=(0,c.i4)(a,[])),t}return R({postcode:null,amount:null}),null},getCurrentCashbackAmount=()=>{var e;let t=null!==(e=null==g?void 0:g.items)&&void 0!==e?e:[];return t.reduce((e,t)=>{if(null==t?void 0:t.has_cashback){var a,l,r;return null!==(r=e+(null===(a=(null!==(l=null==t?void 0:t.additional_services)&&void 0!==l?l:[]).find(e=>"cashback"===e.code))||void 0===a?void 0:a.totalPrice))&&void 0!==r?r:0}return e},0)};return(0,i.useEffect)(()=>{N({isInitialized:L,blockPage,unblockPage,isLoading:I,cartId:a.cartId,sessionId:a.sessionId,isUserDataLoaded:U,isLoggedUser:b,isGuestUser:H,quote:g,customer:v,quoteLogin,getCustomerData,setGuestEmail,requestPasswordReset,refreshQuote,refreshData,setShippingAddressById,setShippingAddressByData,updateAddress,createCustomerAddress,setShippingMethod,placeOrder,addToCart,removeFromCart,updateItemCart,applyCoupon,removeCoupon,setStripePaymentMethod,setPaypalPaymentMethod,createPaypalExpressToken,setConektaSpeiPaymentMethod,setConektaOxxoPaymentMethod,setConektaCreditCardPaymentMethod,setMercadoPagoPaymentMethod,getMercadoPagoPreference,applyStoreCredit,getStripeInstallments,setStripeMonthsFee,unsetStripeMonthsFee,isOrderPlaced:E,estimateShippingMethods,deliveryMessages:P,setFreePaymentMethod,currentEstimateShippingMethods:D,getCurrentCashbackAmount})},[g,L,I,k]),(0,i.useEffect)(()=>{if(u.Z.info("[CHECKOUT-INITIALIZING] Checking if we need to update the cart",f,C),f&&C){u.Z.info("[CHECKOUT-INITIALIZING] Cart is initialized, checking if we need to update the cart",f,C);let e=!1,t=(0,d.iq)();(null==a?void 0:a.cartId)!==(null==g?void 0:g.id)&&(u.Z.info("[CART-SLICE] Cart ID is different from current cart ID, should update cart"),e=!0),t!==h&&(u.Z.info("[CHECKOUT-INITIALIZING] Cart section data IDs cookie is different from current cart version, should update cart"),e=!0),e?(async()=>{await refreshData(),Z(!0),u.Z.info("[CHECKOUT-INITIALIZING] Cart updated successfully",g,v)})():(u.Z.info("[CHECKOUT-INITIALIZING] Cart is already updated, no need to update",g,v),setTimeout(()=>{Z(!0)},500))}else u.Z.info("[CHECKOUT-INITIALIZING] Cart is not initialized, waiting for user data to load",f,C)},[a.cartId,f,C]),(0,l.jsx)(r.Z.Provider,{value:w,children:t})}},44317:function(e,t,a){"use strict";var l=a(85893),r=a(68376);t.Z=e=>{let{children:t,cartId:a,sessionId:n}=e;return(0,l.jsx)(r.Z.Provider,{value:{cartId:a,sessionId:n},children:t})}},68376:function(e,t,a){"use strict";var l=a(67294);let r=(0,l.createContext)({cartId:null,sessionId:null});t.Z=r},97607:function(e,t,a){"use strict";a.d(t,{n:function(){return r}});var l=a(67294);let r={isInitialized:!1,blockPage:()=>null,unblockPage:()=>null,isLoading:!1,cartId:null,sessionId:null,quote:null,customer:null,isUserDataLoaded:null,isGuestUser:null,isLoggedUser:null,quoteLogin:()=>null,getCustomerData:()=>null,setGuestEmail:()=>null,requestPasswordReset:async e=>!1,refreshData:()=>null,refreshQuote:()=>null,setShippingAddressById:()=>null,setShippingAddressByData:()=>null,updateAddress:()=>null,createCustomerAddress:()=>null,setShippingMethod:()=>null,placeOrder:()=>null,setStripePaymentMethod:()=>null,setPaypalPaymentMethod:()=>null,addToCart:()=>null,removeFromCart:()=>null,updateItemCart:()=>null,applyCoupon:()=>null,removeCoupon:()=>null,createPaypalExpressToken:()=>null,setConektaSpeiPaymentMethod:()=>null,setConektaOxxoPaymentMethod:()=>null,setConektaCreditCardPaymentMethod:e=>null,setMercadoPagoPaymentMethod:()=>null,getMercadoPagoPreference:()=>null,applyStoreCredit:()=>null,getStripeInstallments:()=>null,setStripeMonthsFee:()=>null,unsetStripeMonthsFee:()=>null,isOrderPlaced:!1,estimateShippingMethods:()=>null,deliveryMessages:[],setFreePaymentMethod:()=>null,currentEstimateShippingMethods:{postcode:null,amount:null},getCurrentCashbackAmount:()=>null},n=(0,l.createContext)(r);t.Z=n},48693:function(e,t,a){"use strict";var l=a(67294),r=a(97607);t.Z=()=>(0,l.useContext)(r.Z)},87165:function(e,t,a){"use strict";a.d(t,{Z:function(){return useBreakpoints}});var l=a(67294);function useMediaQuery(e){let[t,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=window.matchMedia(e);a(t.matches);let handler=e=>a(e.matches);return t.addEventListener("change",handler),()=>t.removeEventListener("change",handler)},[]),t}function useBreakpoints(){let e={isXs:useMediaQuery("(max-width: 767px)"),isSm:useMediaQuery("(min-width: 768px) and (max-width: 925px)"),isMd:useMediaQuery("(min-width: 926px) and (max-width: 1365px)"),isLg:useMediaQuery("(min-width: 1366px)"),active:"xs"};return e.isXs&&(e.active="xs"),e.isSm&&(e.active="sm"),e.isMd&&(e.active="md"),e.isLg&&(e.active="lg"),e}},66934:function(e,t,a){"use strict";a.d(t,{D$:function(){return setLocalStorageItem},e8:function(){return removeLocalStorageItem},le:function(){return getLocalStorageItem}});var l=a(56386);a(16271);let getLocalStorageItem=(e,t)=>{{let a=window.localStorage.getItem(e);if(a){let r=JSON.parse(a);if(r.expiration){let a=new Date;if(a.getTime()>r.expiration)return window.localStorage.removeItem(e),t}return l.Z.info("[LOCAL-STORAGE] Get item",e,r.value||"null"),r.value}}return t},setLocalStorageItem=(e,t,a)=>{if(void 0!==window){let r=new Date,n={value:t,expiration:a?r.getTime()+1e3*a:null};l.Z.info("[LOCAL-STORAGE] Set item",e,n.value||"null"),window.localStorage.setItem(e,JSON.stringify(n))}},removeLocalStorageItem=e=>{void 0!==window&&(l.Z.info("[LOCAL-STORAGE] Remove item",e),window.localStorage.removeItem(e))}},40336:function(e,t,a){"use strict";a.d(t,{HO:function(){return i},WJ:function(){return s},sc:function(){return n},zY:function(){return getNewSearchClient}});var l=a(28499),r=a(7935);let n="ares_prod_9feb.v2/sort/_text_match(buckets: 5):desc, weighted_score:desc";r.Z.ALGOLIA.DEFAULT_HITS;let i="name,image,look_image,stock,product_link_path,url_path,price,objectID,l2,id,msrp,disenador,label_discount,promotion,has_label_discount,extra_tags,num_ratings,average_rating,is_available,product_link_path,url_product_path,url_path,sku,is_express_delivery,has_cashback,delivery_days",s="color_family".concat(",",i),o=[],getNewSearchClient=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n="".concat(e).concat(t?"-grouped":"");if(!o[n]){let e={};t&&(e={group_by:"variant_code",group_size:1,group_limit:10}),e={query_by:"name,sku",...e,...a,facet_sample_percent:15,facet_sample_threshold:1e3},o[n]=new l.Z({server:{apiKey:"UJdC1MTA7qJb0rpU3DMV1bqBkPCtxXnQ",nodes:[{host:"ts.gaia-design.workers.dev",path:"",port:"443",protocol:"https"}],cacheSearchResultsForSeconds:5},additionalSearchParameters:e,sortByOptions:r})}return o[n].searchClient}},64680:function(e){e.exports={autocomplete:"autocomplete_autocomplete__w0n4z",overlay:"autocomplete_overlay__gv64C","search-focused":"autocomplete_search-focused__niwuW","search-not-focused":"autocomplete_search-not-focused___YPce",MyCustomSearchBox:"autocomplete_MyCustomSearchBox__FjPOQ",MyCustomSearchBoxForm:"autocomplete_MyCustomSearchBoxForm__ZfJvK",MyCustomSearchBoxInput:"autocomplete_MyCustomSearchBoxInput__Hgfun",MyCustomSearchBoxSubmit:"autocomplete_MyCustomSearchBoxSubmit__oh0Gp",MyCustomSearchBoxSubmitIcon:"autocomplete_MyCustomSearchBoxSubmitIcon__VpR75",MyCustomResetBox:"autocomplete_MyCustomResetBox__8VelK","dropdown-search":"autocomplete_dropdown-search__xI1Mh","search-opened":"autocomplete_search-opened__VfKKQ","search-closed":"autocomplete_search-closed__IYmJe","hide-animation":"autocomplete_hide-animation__5GaZZ","search-sidebar-container":"autocomplete_search-sidebar-container__RnzQP","search-sidebar-container_suggest_wrapper":"autocomplete_search-sidebar-container_suggest_wrapper__Mvjwa","search-sidebar-container_suggest_wrapper_title":"autocomplete_search-sidebar-container_suggest_wrapper_title__R98iz",MyCustomHits:"autocomplete_MyCustomHits__gBm0M",MyCustomHitsEmpty:"autocomplete_MyCustomHitsEmpty__UjIXM",MyCustomHitsList:"autocomplete_MyCustomHitsList__FIIZN",MyCustomHitsListItem:"autocomplete_MyCustomHitsListItem__Wl8Ua","link-suggestion":"autocomplete_link-suggestion__1db_g","link-suggestion_highlight":"autocomplete_link-suggestion_highlight__5OOmt",MyCustomHighlightRoot:"autocomplete_MyCustomHighlightRoot__FEvbZ",MyCustomHighlight:"autocomplete_MyCustomHighlight__Z_2E7","search-sidebar-container_recent-search":"autocomplete_search-sidebar-container_recent-search__F7BIn","search-sidebar-container_recent-search_title":"autocomplete_search-sidebar-container_recent-search_title__XcS_g","search-results-container":"autocomplete_search-results-container__RQOsI","search-results-container-items_no-results":"autocomplete_search-results-container-items_no-results__L8VGb","search-results-container-items_is-results":"autocomplete_search-results-container-items_is-results__en26n","search-results-container-items_header":"autocomplete_search-results-container-items_header__NOp7O","search-results-container-items_header-suggested-products-title":"autocomplete_search-results-container-items_header-suggested-products-title__XRv1R","search-results-container-items_header-show-all-results":"autocomplete_search-results-container-items_header-show-all-results__Ol8rq","search-results-container-items":"autocomplete_search-results-container-items__SKBx5","ais-Hits-list":"autocomplete_ais-Hits-list__ulOFZ","ais-Hits-item":"autocomplete_ais-Hits-item__UL4Q_",MyCustomHighlightRootList:"autocomplete_MyCustomHighlightRootList__vM_2E",MyCustomHighlightList:"autocomplete_MyCustomHighlightList__taYuv","search-results-container-items_container-no-results":"autocomplete_search-results-container-items_container-no-results__qC4Y0","search-results-container-items_container-no-results_no-result-title":"autocomplete_search-results-container-items_container-no-results_no-result-title__q_qsn","search-results-container-items_container-no-results_no-result-query":"autocomplete_search-results-container-items_container-no-results_no-result-query__sRpTg","search-results-container-items_container-no-results_try-again":"autocomplete_search-results-container-items_container-no-results_try-again__I_BRr"}},74975:function(e){e.exports={button:"button_button__HOmVR","button-md":"button_button-md__r0C9T","button-lg":"button_button-lg__gtZ4u","button-sm":"button_button-sm__K3iOI","button-primary_transactional":"button_button-primary_transactional__84Qro","button-secondary_transactional":"button_button-secondary_transactional__72evt","button-primary_general":"button_button-primary_general__oTv9C","button-secondary_general":"button_button-secondary_general__6rv0Y","button-icon-position-left":"button_button-icon-position-left__VcCOC","button-icon-position-right":"button_button-icon-position-right__Pxj_E","button-icon_left":"button_button-icon_left__8rMQD","button-icon_right":"button_button-icon_right__bzF5n","button-ghost":"button_button-ghost__xo2Hh"}},26780:function(e){e.exports={card:"card_card__okhrm",card_divider:"card_card_divider__uSzKc",card_container:"card_card_container__Ko4Eh","card_category-home":"card_card_category-home__bGfuH","card_category-home_link":"card_card_category-home_link__icSvw","card_category-home_image":"card_card_category-home_image__RRm2_","card_category-home_bg":"card_card_category-home_bg__9ffgO","card_category-home_bg-sm":"card_card_category-home_bg-sm__vD0fR","card_category-home_bg-md":"card_card_category-home_bg-md__eccmn","card_category-home_bg-lg":"card_card_category-home_bg-lg___qrOZ","card_category-home_title":"card_card_category-home_title__vz1po","card_category-listing":"card_card_category-listing__bjDg1","card_category-listing_link":"card_card_category-listing_link__CLvko","card_category-listing_image":"card_card_category-listing_image__mDdT7","card_category-listing_bg":"card_card_category-listing_bg__porTM","card_category-listing_bg-sm":"card_card_category-listing_bg-sm__UI__i","card_category-listing_bg-md":"card_card_category-listing_bg-md__wjV0K","card_category-listing_bg-lg":"card_card_category-listing_bg-lg__VU4j2","card_category-listing_bg-xl":"card_card_category-listing_bg-xl__glRA6","card_category-listing_title":"card_card_category-listing_title__Y_fcp",card_product:"card_card_product__Gejta",card_product_link:"card_card_product_link__AvTiT",card_product_image:"card_card_product_image__91xfx",card_product_info:"card_card_product_info__a3mhv",card_product_info_content:"card_card_product_info_content__UtFQK",card_product_info_content_row:"card_card_product_info_content_row__hhpzn",card_product_info_content_column:"card_card_product_info_content_column__l_OGT","card_product-search":"card_card_product-search__lea3M","card_product-search_link":"card_card_product-search_link__vW5bk","card_product-search_image":"card_card_product-search_image__sW0IP","card_product-search_info":"card_card_product-search_info__S5vaZ","card_product-search_info_content":"card_card_product-search_info_content__AQMEq","card_product-search_info_content_row":"card_card_product-search_info_content_row__n5p3j","card_product-search_info_content_column":"card_card_product-search_info_content_column__FMOtT","card_slide-cart":"card_card_slide-cart__sbPpb","card_slide-cart_link":"card_card_slide-cart_link__8nEwv","card_slide-cart-sm":"card_card_slide-cart-sm__WKUnI","card_slide-cart-md":"card_card_slide-cart-md__GMZyq","card_slide-cart-lg":"card_card_slide-cart-lg__q1vW6","card_slide-cart-xl":"card_card_slide-cart-xl__MxMYL","card_slide-cart_image":"card_card_slide-cart_image__wTw7y",card_extraTag:"card_card_extraTag__xw4sS","category-card":"card_category-card__Pt_BP"}},99042:function(e){e.exports={carouselWrapper:"carousel_carouselWrapper__JEK_E",itemsCarousel:"carousel_itemsCarousel__Fq0kh",prev:"carousel_prev__lC4r1",next:"carousel_next__5SHTx",itemCarousel:"carousel_itemCarousel__8EtU_",active:"carousel_active__XoB__",carouselAnchor:"carousel_carouselAnchor__1YDvr",carouselCountDownWrapper:"carousel_carouselCountDownWrapper__bxwot",carouselCountDown:"carousel_carouselCountDown__LABvo",topbarCountdown:"carousel_topbarCountdown__p6Ewc"}},94020:function(e){e.exports={"product-card_recommendation":"cart-upsell_product-card_recommendation__WRVIh","category_body-image":"cart-upsell_category_body-image__xt1ph","product-title":"cart-upsell_product-title__BCg96","product-discount":"cart-upsell_product-discount__X10aT","msrp-price":"cart-upsell_msrp-price__1W2Ol","off-percent":"cart-upsell_off-percent__10otW","product-price":"cart-upsell_product-price__p34Za","promotion-price":"cart-upsell_promotion-price__QO8V0","the-price":"cart-upsell_the-price__2jmKq","msi-promo":"cart-upsell_msi-promo__UHpx1"}},61606:function(e){e.exports={wrapper:"cart_wrapper__EDgoW","wrapper-closes":"cart_wrapper-closes__yvzTm",wrapper_title:"cart_wrapper_title__42sCZ",wrapper_subtitle:"cart_wrapper_subtitle__wRzPy",wrapper_subtitle_collapse:"cart_wrapper_subtitle_collapse__JUBuB",wrapper_card:"cart_wrapper_card__yGY_T","wrapper_card-checkout":"cart_wrapper_card-checkout__8wcFn",wrapper_card_mobile:"cart_wrapper_card_mobile__dqgzC","wrapper_card-close":"cart_wrapper_card-close__akp8S",wrapper_card_child:"cart_wrapper_card_child__rbz6M",wrapper_card_child_title:"cart_wrapper_card_child_title__vsVUf",wrapper_card_child_title_name:"cart_wrapper_card_child_title_name__hNMqQ",wrapper_card_child_grid:"cart_wrapper_card_child_grid__O457y",wrapper_card_child_grid_price:"cart_wrapper_card_child_grid_price__WnXXV",wrapper_card_child_grid_total:"cart_wrapper_card_child_grid_total__LuEUE",wrapper_card_child_grid_total_text:"cart_wrapper_card_child_grid_total_text__BOLCU",wrapper_card_child_grid_cp:"cart_wrapper_card_child_grid_cp__mZD9F",wrapper_card_child_grid_cp_div:"cart_wrapper_card_child_grid_cp_div__xNuOx",wrapper_summary:"cart_wrapper_summary__Sd1CR",wrapper_summary_fixed:"cart_wrapper_summary_fixed__A9X8P",gray:"cart_gray__TZF0V",red:"cart_red__FRgf4",noProducts:"cart_noProducts__Mh3OT","mobile-checkout_container_total":"cart_mobile-checkout_container_total__U7g0U","mobile-checkout_container_total_label-checkout":"cart_mobile-checkout_container_total_label-checkout__DPoQr","mobile-checkout_container_total_value":"cart_mobile-checkout_container_total_value__DgGez","mobile-checkout_container_summary":"cart_mobile-checkout_container_summary__1Pb7_","mobile-checkout_container_summary_label":"cart_mobile-checkout_container_summary_label__2qplM"}},44136:function(e){e.exports={datecountDown:"dateCountDown_datecountDown__9_5CU"}},80296:function(e){e.exports={"delivery-cities":"deliveryCities_delivery-cities__Bm2zd","delivery-cities_wrapper":"deliveryCities_delivery-cities_wrapper__KpAFV","delivery-cities_wrapper_container":"deliveryCities_delivery-cities_wrapper_container__RqU24","delivery-cities_wrapper_container_free_subtitle_label":"deliveryCities_delivery-cities_wrapper_container_free_subtitle_label__s_zh6","delivery-cities_wrapper_container_free_list":"deliveryCities_delivery-cities_wrapper_container_free_list__NAcBe","delivery-cities_wrapper_container_free_list_item":"deliveryCities_delivery-cities_wrapper_container_free_list_item__yoFai","delivery-cities_wrapper_container_free_list_item_city":"deliveryCities_delivery-cities_wrapper_container_free_list_item_city__PU0J6","delivery-cities_wrapper_container_free_list_item_capital":"deliveryCities_delivery-cities_wrapper_container_free_list_item_capital__ox0lH","delivery-cities_wrapper_container_charge_subtitle_label":"deliveryCities_delivery-cities_wrapper_container_charge_subtitle_label__k_oDt","delivery-cities_wrapper_container_charge_list":"deliveryCities_delivery-cities_wrapper_container_charge_list__UoS9_","delivery-cities_wrapper_container_charge_list_item":"deliveryCities_delivery-cities_wrapper_container_charge_list_item__bqKxH","delivery-cities_wrapper_container_charge_list_item_city":"deliveryCities_delivery-cities_wrapper_container_charge_list_item_city__J4gbB","delivery-cities_wrapper_container_charge_list_item_capital":"deliveryCities_delivery-cities_wrapper_container_charge_list_item_capital__4y4Tl","delivery-advice_container_label":"deliveryCities_delivery-advice_container_label__gT2vl","delivery-advice_container_action":"deliveryCities_delivery-advice_container_action__SaxLy","delivery-advice_container_action_link":"deliveryCities_delivery-advice_container_action_link__DGxF3"}},30109:function(e){e.exports={"faq-title":"faqMenu_faq-title__VwI3p","faq-info-details":"faqMenu_faq-info-details__byGpg","faq-detail":"faqMenu_faq-detail__nvvWQ","faq-contact-details":"faqMenu_faq-contact-details__YktMA","wspp-txt":"faqMenu_wspp-txt___Qm2_","faq-icon":"faqMenu_faq-icon__dWlrn","faq-contact-time-weekday":"faqMenu_faq-contact-time-weekday__OI64G","faq-contact-time-weekend":"faqMenu_faq-contact-time-weekend__tMWSl","faq-contact-mail":"faqMenu_faq-contact-mail__vQO2c","faq-contact-numbers":"faqMenu_faq-contact-numbers__pov3G","faq-contact-numbers-phone":"faqMenu_faq-contact-numbers-phone__fWNJP","faq-contact-numbers-text":"faqMenu_faq-contact-numbers-text__PN9Am","faq-number":"faqMenu_faq-number__9gJtd","faq-contact-mail-text":"faqMenu_faq-contact-mail-text__RZaqF","faq-contact-time":"faqMenu_faq-contact-time__uxant","faq-contact-time_wrapper":"faqMenu_faq-contact-time_wrapper__Mdpgt","faq-contact-time_wrapper_side":"faqMenu_faq-contact-time_wrapper_side__1ghEB","faq-contact-time_wrapper_side_header":"faqMenu_faq-contact-time_wrapper_side_header__wanu2","faq-contact-time_wrapper_side_cell":"faqMenu_faq-contact-time_wrapper_side_cell__YrEkF","faq-btn-container":"faqMenu_faq-btn-container__3O5qA"}},99837:function(e){e.exports={searchbar:"header_searchbar__PcEK5",cartBadge:"header_cartBadge__H7Zqu","myaccount-menu-wrapper":"header_myaccount-menu-wrapper__fZX_X","inner-menu-mobile":"header_inner-menu-mobile__374r_","logo-menu-mobile":"header_logo-menu-mobile__FVS8j","ctas-wrapper-mobile":"header_ctas-wrapper-mobile__tsXac"}},48768:function(e){e.exports={image:"imageProduct_image__eRs8N",image_graphic:"imageProduct_image_graphic__PdpY5","image_graphic-primary":"imageProduct_image_graphic-primary__wBK14","image_graphic-secondary":"imageProduct_image_graphic-secondary__r1TUU"}},57415:function(e){e.exports={container:"input-add-dim_container__uAJ82",container_minus:"input-add-dim_container_minus__CtWLa",container_minus_min:"input-add-dim_container_minus_min__aiktf",container_input:"input-add-dim_container_input__Thh_1",container_plus:"input-add-dim_container_plus__BjtRs","container_label-qty":"input-add-dim_container_label-qty__PHRsI"}},65073:function(e){e.exports={login_Wrapper:"login_login_Wrapper__8YoOn",loginPic:"login_loginPic__FhCU6",loginForm:"login_loginForm__2iuzQ","login-btn":"login_login-btn__w_3jQ","login-form-journey":"login_login-form-journey__a93tv","forgot-password-form-journey":"login_forgot-password-form-journey__PFEyx","text-advice":"login_text-advice__mQWfv","login-input-field":"login_login-input-field__J5YkI",bottomForm:"login_bottomForm__Y4TJm","cta-hyperlink":"login_cta-hyperlink__RpCuu","login-form":"login_login-form__NSbZg","cta-forgot-password":"login_cta-forgot-password__6uggC","back-guest":"login_back-guest__B6VjZ","login-cta":"login_login-cta__HLlSG","success-message":"login_success-message__yMkzb","envelope-password":"login_envelope-password__lyPgc","login-error-msg":"login_login-error-msg__x_rRM"}},93365:function(e){e.exports={"m-menu__checkbox":"menuMobileV2_m-menu__checkbox__liAfl","m-menu__toggle":"menuMobileV2_m-menu__toggle__po_o6","subcategory-text-group":"menuMobileV2_subcategory-text-group__HGmcM","see-all":"menuMobileV2_see-all__FA31y","m-menu__header":"menuMobileV2_m-menu__header__1iY27",singleCat:"menuMobileV2_singleCat__2Pdu3","m-menu":"menuMobileV2_m-menu__ZNZXl","m-menu__overlay":"menuMobileV2_m-menu__overlay__7_Rex","m-menus":"menuMobileV2_m-menus__U1a8g",CategoryIco:"menuMobileV2_CategoryIco__zQM4z",CategoriesList:"menuMobileV2_CategoriesList__2w9IE",CategoryItem:"menuMobileV2_CategoryItem__aVrcj",CategoryRow:"menuMobileV2_CategoryRow__PGgo7",SubCategoriesList:"menuMobileV2_SubCategoriesList__PMExZ",SubCategoriesItem:"menuMobileV2_SubCategoriesItem__dHF3P",SubCategoriesSubItem:"menuMobileV2_SubCategoriesSubItem__fVA_R","menu-liquidacion":"menuMobileV2_menu-liquidacion__ixCPy","a-label__chevron":"menuMobileV2_a-label__chevron___JIku","-invisible":"menuMobileV2_-invisible__uKurv","ctas-mobile-menu":"menuMobileV2_ctas-mobile-menu__BbGNv",ContactFooterMenu:"menuMobileV2_ContactFooterMenu__xPl1x",shop:"menuMobileV2_shop__SpHAA",categoryChecked:"menuMobileV2_categoryChecked__fJuj0","menu-node-group":"menuMobileV2_menu-node-group__HzUH7","m-menu-subcategory":"menuMobileV2_m-menu-subcategory__wx46s","cat-parent":"menuMobileV2_cat-parent__dK3SE","nav-mobile-logo":"menuMobileV2_nav-mobile-logo__2QnQj"}},17025:function(e){e.exports={"modal-cart-error-message-title":"common_modal-cart-error-message-title__RRBoI","modal-cart-error-message-message":"common_modal-cart-error-message-message__mz9Ah","modal-cart-error-message-body":"common_modal-cart-error-message-body__6djyU"}},42718:function(e){e.exports={"product-list":"msi-advice_product-list__GVzyS","product-list-text":"msi-advice_product-list-text__4qM4J","pdp-advice_msi-advice":"msi-advice_pdp-advice_msi-advice__jYl7B","pdp-advice_msi-advice-checkout":"msi-advice_pdp-advice_msi-advice-checkout__n310H","pdp-advice_msi-advice_with-cart":"msi-advice_pdp-advice_msi-advice_with-cart__z24XR","pdp-advice_msi-advice_with-cart_topic":"msi-advice_pdp-advice_msi-advice_with-cart_topic__Hi7fL","pdp-advice_msi-advice_with-cart_rule":"msi-advice_pdp-advice_msi-advice_with-cart_rule__TGxxq","pdp-advice_msi-advice_without-cart":"msi-advice_pdp-advice_msi-advice_without-cart__bLYRO","pdp-advice_msi-advice_without-cart_topic":"msi-advice_pdp-advice_msi-advice_without-cart_topic__uR8Fz","pdp-advice_msi-advice_without-cart_rule":"msi-advice_pdp-advice_msi-advice_without-cart_rule__I5und","pdp-advice_msi-advice_without-cart_icon":"msi-advice_pdp-advice_msi-advice_without-cart_icon__GVDVm","pdp-advice_msi-advice_without-cart_link":"msi-advice_pdp-advice_msi-advice_without-cart_link__mk4Bz","plp-advice":"msi-advice_plp-advice__9RK4I","plp-advice_text":"msi-advice_plp-advice_text__ChUZt","flying-cart-advice":"msi-advice_flying-cart-advice__eANvy","flying-cart-advice_init-middle":"msi-advice_flying-cart-advice_init-middle__DJLX_","advice-tooltip":"msi-advice_advice-tooltip__U2qjq","advice-tooltip_link":"msi-advice_advice-tooltip_link__FtnU4"}},93676:function(e){e.exports={"my-account-slide-wrapper":"myAccountContain_my-account-slide-wrapper__Hp71j","my-account-slide-wrapper_wishlist-cta":"myAccountContain_my-account-slide-wrapper_wishlist-cta__bGDTJ","my-account-slide-wrapper_sign-buttons":"myAccountContain_my-account-slide-wrapper_sign-buttons__1mCmr","my-account-slide-wrapper_list":"myAccountContain_my-account-slide-wrapper_list__XUZQv","my-account-slide-wrapper_list_options":"myAccountContain_my-account-slide-wrapper_list_options__2u2Ss","sign-out-btn":"myAccountContain_sign-out-btn__GUUHg","login-panel":"myAccountContain_login-panel__uYbmR"}},5625:function(e){e.exports={"payment-methods":"paymentMethods_payment-methods__4979b","payment-advice-legend":"paymentMethods_payment-advice-legend__WDt21","payment-methods_item-card":"paymentMethods_payment-methods_item-card__gUxY7","payment-methods_item-paypal":"paymentMethods_payment-methods_item-paypal__6cGC8","payment-methods_item-mercadopago":"paymentMethods_payment-methods_item-mercadopago__mpNIA","payment-methods_item-atrato":"paymentMethods_payment-methods_item-atrato__vwNoQ","payment-methods_item-spei":"paymentMethods_payment-methods_item-spei__rMj9x","payment-methods_item-oxxo":"paymentMethods_payment-methods_item-oxxo__AkXiM","payment-methods_item-card_wrapper-icon":"paymentMethods_payment-methods_item-card_wrapper-icon__WzetY","payment-methods_item-paypal_wrapper-icon":"paymentMethods_payment-methods_item-paypal_wrapper-icon__DxoZM","payment-methods_item-mercadopago_wrapper-icon":"paymentMethods_payment-methods_item-mercadopago_wrapper-icon__C7yPr","payment-methods_item-atrato_wrapper-icon":"paymentMethods_payment-methods_item-atrato_wrapper-icon__G1Upo","payment-methods_item-spei_wrapper-icon":"paymentMethods_payment-methods_item-spei_wrapper-icon__a7yX5","payment-methods_item-oxxo_wrapper-icon":"paymentMethods_payment-methods_item-oxxo_wrapper-icon__mzrOd","payment-methods_item-card_wrapper-description":"paymentMethods_payment-methods_item-card_wrapper-description__Kgyzl","payment-methods_item-paypal_wrapper-description":"paymentMethods_payment-methods_item-paypal_wrapper-description__skE8O","payment-methods_item-mercadopago_wrapper-description":"paymentMethods_payment-methods_item-mercadopago_wrapper-description___PqbI","payment-methods_item-atrato_wrapper-description":"paymentMethods_payment-methods_item-atrato_wrapper-description__aRhgk","payment-methods_item-spei_wrapper-description":"paymentMethods_payment-methods_item-spei_wrapper-description__WEKuP","payment-methods_item-oxxo_wrapper-description":"paymentMethods_payment-methods_item-oxxo_wrapper-description__w_edN","payment-methods_item-card_wrapper-description_title":"paymentMethods_payment-methods_item-card_wrapper-description_title__V_mda","payment-methods_item-paypal_wrapper-description_title":"paymentMethods_payment-methods_item-paypal_wrapper-description_title__3UjCA","payment-methods_item-mercadopago_wrapper-description_title":"paymentMethods_payment-methods_item-mercadopago_wrapper-description_title__2YypC","payment-methods_item-atrato_wrapper-description_title":"paymentMethods_payment-methods_item-atrato_wrapper-description_title__Qq7zf","payment-methods_item-spei_wrapper-description_title":"paymentMethods_payment-methods_item-spei_wrapper-description_title__rwbN_","payment-methods_item-oxxo_wrapper-description_title":"paymentMethods_payment-methods_item-oxxo_wrapper-description_title__qR7bs","payment-methods_item-card_wrapper-description_detail":"paymentMethods_payment-methods_item-card_wrapper-description_detail__bCsZs","payment-methods_item-paypal_wrapper-description_detail":"paymentMethods_payment-methods_item-paypal_wrapper-description_detail__fQNix","payment-methods_item-mercadopago_wrapper-description_detail":"paymentMethods_payment-methods_item-mercadopago_wrapper-description_detail__m2DW6","payment-methods_item-atrato_wrapper-description_detail":"paymentMethods_payment-methods_item-atrato_wrapper-description_detail__j8l9p","payment-methods_item-spei_wrapper-description_detail":"paymentMethods_payment-methods_item-spei_wrapper-description_detail__aB1tL","payment-methods_item-oxxo_wrapper-description_detail":"paymentMethods_payment-methods_item-oxxo_wrapper-description_detail__Mxokm","payment-methods_item-card_wrapper-description_advice":"paymentMethods_payment-methods_item-card_wrapper-description_advice__lMTeb","payment-methods_item-paypal_wrapper-description_advice":"paymentMethods_payment-methods_item-paypal_wrapper-description_advice__1wWKJ","payment-methods_item-mercadopago_wrapper-description_advice":"paymentMethods_payment-methods_item-mercadopago_wrapper-description_advice__PE_ye","payment-methods_item-atrato_wrapper-description_advice":"paymentMethods_payment-methods_item-atrato_wrapper-description_advice__QXhH1","payment-methods_item-spei_wrapper-description_advice":"paymentMethods_payment-methods_item-spei_wrapper-description_advice__2_5mL","payment-methods_item-oxxo_wrapper-description_advice":"paymentMethods_payment-methods_item-oxxo_wrapper-description_advice__TC9wl"}},65993:function(e){e.exports={popover:"popover_popover__CpoSo","popover_my-account":"popover_popover_my-account__ULr28","popover_flying-cart":"popover_popover_flying-cart__uNHyd","popover_full-screen":"popover_popover_full-screen__80Lqp",popover_overlay:"popover_popover_overlay__Slaaf",popover_header:"popover_popover_header__omfyJ",popover_header_icon:"popover_popover_header_icon__E98f6",popover_header_title:"popover_popover_header_title___1YWG"}},35281:function(e){e.exports={recommendations_wrapper:"recommenderCarousel_recommendations_wrapper__kcIyX",recommendations_carousel:"recommenderCarousel_recommendations_carousel__Lv9Ci","rec-slider-container":"recommenderCarousel_rec-slider-container__9UBHJ"}},95268:function(e){e.exports={"product-card_recommendation":"relatedItem_product-card_recommendation___sDWk","category_body-image":"relatedItem_category_body-image__5DQlK","product-title":"relatedItem_product-title__C84Vl","product-discount":"relatedItem_product-discount__00G4I","msrp-price":"relatedItem_msrp-price__YTnZi","off-percent":"relatedItem_off-percent__t3lGJ","product-price":"relatedItem_product-price__wUbvo","promotion-price":"relatedItem_promotion-price__xTPbc","the-price":"relatedItem_the-price__gb8Lz","msi-promo":"relatedItem_msi-promo__ysdbI"}},59878:function(e){e.exports={"spinner-loader":"spinnerLoader_spinner-loader__o2HT2",spin:"spinnerLoader_spin__T_oRW","loader-overlay":"spinnerLoader_loader-overlay__8ouod"}},50217:function(e){e.exports={NavigationMenuRoot:"subMenuM2_NavigationMenuRoot__t7vlK",NavigationMenuList:"subMenuM2_NavigationMenuList__5eq7u",NavigationMenuTrigger:"subMenuM2_NavigationMenuTrigger__JPgFP",NavigationMenuLink:"subMenuM2_NavigationMenuLink__HgZcH",hovering:"subMenuM2_hovering__OqMA6","menu-liquidacion":"subMenuM2_menu-liquidacion__6CRtY",NavigationMenuIndicator:"subMenuM2_NavigationMenuIndicator__wTi84",fadeIn:"subMenuM2_fadeIn__i1TDA",fadeOut:"subMenuM2_fadeOut__afUYg",NavigationMenuItem:"subMenuM2_NavigationMenuItem__1ONgG",NavigationMenuContent:"subMenuM2_NavigationMenuContent__fOJXN",GAIALocal:"subMenuM2_GAIALocal__tZo2X",ListItemHeading:"subMenuM2_ListItemHeading___bYp4",SubCategoryMenuAll:"subMenuM2_SubCategoryMenuAll__EHzPc",CategoryColumnMain:"subMenuM2_CategoryColumnMain__7uuSk",CategoryColumnImage:"subMenuM2_CategoryColumnImage__orDn5",CategoryColumn:"subMenuM2_CategoryColumn__rxxLY",NavigationMenuViewport:"subMenuM2_NavigationMenuViewport__j686R",scaleIn:"subMenuM2_scaleIn__S8Nt4",scaleOut:"subMenuM2_scaleOut__LYNxt",NavigationSubMenuList:"subMenuM2_NavigationSubMenuList__QyXmq",List:"subMenuM2_List__g0m70",ListItemLink:"subMenuM2_ListItemLink__4ddJn",ListItemSubCatName:"subMenuM2_ListItemSubCatName__a9ePj",ListItemText:"subMenuM2_ListItemText__z2MYR",SubCategoryMenu:"subMenuM2_SubCategoryMenu__G5h62",ListItemImg:"subMenuM2_ListItemImg__1FlGI"}},93215:function(e){e.exports={NavigationMenuRoot:"subMenuV2_NavigationMenuRoot__8oHjr",NavigationMenuList:"subMenuV2_NavigationMenuList__avTay",NavigationMenuTrigger:"subMenuV2_NavigationMenuTrigger__HIR2x",NavigationMenuLink:"subMenuV2_NavigationMenuLink__V6G3j",hovering:"subMenuV2_hovering__YSp8l","menu-liquidacion":"subMenuV2_menu-liquidacion__h4AJb",NavigationMenuIndicator:"subMenuV2_NavigationMenuIndicator__Pa802",fadeIn:"subMenuV2_fadeIn__7IRtg",fadeOut:"subMenuV2_fadeOut__fevQu",NavigationMenuItem:"subMenuV2_NavigationMenuItem__Zl777",NavigationMenuContent:"subMenuV2_NavigationMenuContent__eh_l6",GAIALocal:"subMenuV2_GAIALocal__F2hsV",ListItemHeading:"subMenuV2_ListItemHeading__YEQ_j",SubCategoryMenuAll:"subMenuV2_SubCategoryMenuAll__o6due","menu-items-wrapper":"subMenuV2_menu-items-wrapper__lx_VM",Arrow:"subMenuV2_Arrow__VKjtO",CategoryColumnMain:"subMenuV2_CategoryColumnMain__PVw6s",NavigationMenuListItems:"subMenuV2_NavigationMenuListItems__kLWP6",SimpleItemsList:"subMenuV2_SimpleItemsList__y0_DS",CategoryColumnImage:"subMenuV2_CategoryColumnImage__IlGfY",CategoryColumn:"subMenuV2_CategoryColumn__xQdXE",NavigationMenuViewport:"subMenuV2_NavigationMenuViewport__wc_d5",scaleIn:"subMenuV2_scaleIn__i5GMR",scaleOut:"subMenuV2_scaleOut__AOYj1",NavigationSubMenuList:"subMenuV2_NavigationSubMenuList__Z1p3g",List:"subMenuV2_List__55cct",ListItemLink:"subMenuV2_ListItemLink__t1OV8",ListItemSubCatName:"subMenuV2_ListItemSubCatName__uo_Dv",ListItemText:"subMenuV2_ListItemText__J83J1",SubCategoryMenu:"subMenuV2_SubCategoryMenu__iDhmg",ListItemImg:"subMenuV2_ListItemImg__QtyZe"}},39644:function(e){e.exports={"tag-extras":"tagExtras_tag-extras__V5Gp5"}},56268:function(e){e.exports={"tag-offer":"tagOffer_tag-offer__j_kZi"}},2645:function(e){e.exports={tag:"tagPromotion_tag__Gp0uR",tag_promotion:"tagPromotion_tag_promotion__2Cb9n"}},88099:function(e){e.exports={topMenu:"topLinks_topMenu__c12jM",datecountDown:"topLinks_datecountDown__DxZXU","top-links-list":"topLinks_top-links-list__TvMoQ",topanchorLink:"topLinks_topanchorLink__XLeYC","gaia-tv":"topLinks_gaia-tv__RAo8k","gaia-shops":"topLinks_gaia-shops__Cd09n","gaia-faq":"topLinks_gaia-faq__0WOne","faq-menu-wrapper":"topLinks_faq-menu-wrapper__G20Di","is-open":"topLinks_is-open__HfUpZ","slide-down":"topLinks_slide-down___xxJ5"}},36094:function(e){e.exports={container:"total-summary_container__VBoWb","container-checkout":"total-summary_container-checkout__PNYLO","container-checkout_subtotal-checkout":"total-summary_container-checkout_subtotal-checkout__qjFMq",container_subtotal:"total-summary_container_subtotal__E8H8Z","container_subtotal_label-checkout":"total-summary_container_subtotal_label-checkout__bcXdI",container_subtotal_value:"total-summary_container_subtotal_value__oYF5t",container_shipping:"total-summary_container_shipping__uUC1X","container_shipping_label-checkout":"total-summary_container_shipping_label-checkout__mECWR",container_shipping_value:"total-summary_container_shipping_value__GW_Az",container_zipcode:"total-summary_container_zipcode__QKBtI",container_zipcode_value:"total-summary_container_zipcode_value__J2Uk5",container_discount:"total-summary_container_discount__qy00x",container_discount_grid:"total-summary_container_discount_grid__Ckc31",container_discount_grid_label:"total-summary_container_discount_grid_label__aD6TD",container_discount_grid_value:"total-summary_container_discount_grid_value__NgNgt",container_total:"total-summary_container_total__OrUcW","container_total_label-checkout":"total-summary_container_total_label-checkout__fkdCu",container_total_value:"total-summary_container_total_value__7aMJ9","container_buy-now":"total-summary_container_buy-now__5QgH_","container_msi-message":"total-summary_container_msi-message__W5JDu","container_view-cart":"total-summary_container_view-cart__SlTQu","container_have-coupon":"total-summary_container_have-coupon__p0QuF","container_have-coupon_action":"total-summary_container_have-coupon_action__Y5bKO","container_show-coupon":"total-summary_container_show-coupon__3IRWN","container_show-coupon_grid":"total-summary_container_show-coupon_grid__0RhQs","container_show-coupon_grid_input":"total-summary_container_show-coupon_grid_input__u4QJV","container_show-coupon_grid_button":"total-summary_container_show-coupon_grid_button__T2C_C","zipcode-loading-icon":"total-summary_zipcode-loading-icon__B5s1X",spin:"total-summary_spin__1Ozr_"}},36486:function(){},99964:function(){},5323:function(e){"use strict";e.exports=JSON.parse('[{"id":1,"status":"published","user_created":"c4b2e1a8-9513-4483-b900-1c3d78ef46d0","date_created":"2024-12-06T23:59:46.000Z","user_updated":"4e2db386-27a8-462f-a484-3d4044fd1c96","date_updated":"2024-12-11T23:09:38.000Z","name":"Tefl\xf3n ","code":"teflon_piloto","description":{"schema":"dast","document":{"type":"root","children":[{"type":"paragraph","children":[{"type":"span","value":"Crea una capa protectora invisible que:"}]},{"type":"list","style":"bulleted","children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Evita que los l\xedquidos y las manchas penetren f\xe1cilmente en la tela"}]}]},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Facilita la limpieza"}]}]},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Alarga la vida \xfatil de la tela"}]}]},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Mantiene tu sof\xe1 como nuevo por m\xe1s tiempo"}]}]}]},{"type":"paragraph","children":[{"type":"span","value":"Te entregaremos tu sof\xe1 con el tefl\xf3n aplicado, listo para enfrentar cualquier desastre que se presente \uD83D\uDE0E"}]}]}},"service_type":"product","cost_type":"percentage","cost":"10.00000","extra_days":0,"notify_highjump":true,"datocms":{"id":"TMoZtrLVQUGboBq6JmodiA","code":"teflon_piloto","cost":10,"meta":{"stage":null,"status":"updated","is_valid":true,"created_at":"2024-04-28T00:45:04.439-06:00","updated_at":"2024-07-30T16:29:04.073-06:00","published_at":"2024-07-30T16:29:05.197-06:00","current_version":"C2mYkbBKR3iHpFjSkxm5uQ","first_published_at":"2024-06-04T15:08:00.412-06:00","is_current_version_valid":true,"publication_scheduled_at":null,"unpublishing_scheduled_at":null,"is_published_version_valid":true},"name":"Tefl\xf3n","type":"item","creator":{"id":"41615","type":"user"},"cost_type":"percentage","item_type":{"id":"Z6Rvb8BJRcq0V2Xa11xYKA","type":"item_type"},"extra_days":0,"description":{"schema":"dast","document":{"type":"root","children":[{"type":"paragraph","children":[{"type":"span","value":"Crea una capa protectora invisible que:"}]},{"type":"list","style":"bulleted","children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Evita que los l\xedquidos y las manchas penetren f\xe1cilmente en la tela"}]}]},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Facilita la limpieza"}]}]},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Alarga la vida \xfatil de la tela"}]}]},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"span","value":"Mantiene tu sof\xe1 como nuevo por m\xe1s tiempo"}]}]}]},{"type":"paragraph","children":[{"type":"span","value":"Te entregaremos tu sof\xe1 con el tefl\xf3n aplicado, listo para enfrentar cualquier desastre que se presente \uD83D\uDE0E"}]}]}},"service_type":"product","notify_highjump":true},"datocms_id":"TMoZtrLVQUGboBq6JmodiA"}]')}}]);